| Conditions | 2 |
| Paths | 2 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function registerEntityNotificationControllers() |
||
| 45 | { |
||
| 46 | $controllers = [ |
||
| 47 | 'Backend\\Manager\\Notification\\ShowEntityEmail' => [ |
||
| 48 | 'show', |
||
| 49 | 'preview', |
||
| 50 | 'previewError', |
||
| 51 | ], |
||
| 52 | 'Backend\\Manager\\Notification\\ShowEntityLog' => [ |
||
| 53 | 'show', |
||
| 54 | ], |
||
| 55 | 'Backend\\Manager\\Notification\\ShowEntitySlack' => [ |
||
| 56 | 'show', |
||
| 57 | ], |
||
| 58 | ]; |
||
| 59 | |||
| 60 | foreach ($controllers as $controller => $actions) { |
||
| 61 | $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['Notiz']['modules'][$this->getModuleName()]['controllers'][$controller] = ['actions' => $actions]; |
||
| 62 | } |
||
| 65 |