| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function processAction($notificationIdentifier) |
||
| 30 | { |
||
| 31 | $definition = $this->getDefinition(); |
||
| 32 | |||
| 33 | if (!$definition->hasNotification($notificationIdentifier)) { |
||
| 34 | $this->addErrorMessage( |
||
| 35 | 'Backend/Module/Manager/ListNotifications:notification_type_not_found', |
||
| 36 | $notificationIdentifier |
||
| 37 | ); |
||
| 38 | |||
| 39 | $this->forward('process', 'Backend\\Manager\\ListNotificationTypes'); |
||
| 40 | } |
||
| 41 | |||
| 42 | $this->view->assign('notificationDefinition', $definition->getNotification($notificationIdentifier)); |
||
| 43 | } |
||
| 53 |