-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathext_localconf.php
More file actions
28 lines (22 loc) · 797 Bytes
/
ext_localconf.php
File metadata and controls
28 lines (22 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
defined('TYPO3') || die();
call_user_func(
function (): void {
/**
* Extend ext:news
*/
$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['classes']['Domain/Model/News'][] = 'md_newsfrontend';
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'MdNewsfrontend',
'Newsfe',
[
\Mediadreams\MdNewsfrontend\Controller\NewsController::class => 'list, new, create, edit, update, delete'
],
// non-cacheable actions
[
\Mediadreams\MdNewsfrontend\Controller\NewsController::class => 'list, create, edit, update, delete'
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
}
);