Controller/AdminBlockController.php 1 location
|
@@ 87-92 (lines=6) @@
|
| 84 |
|
protected function getInstancesAdmin() |
| 85 |
|
{ |
| 86 |
|
foreach ($this->getCMSParameter() as $key => $value) { |
| 87 |
|
if ($this->checkRolesCMS($value)) { |
| 88 |
|
$instanceAdmin = $this->admin->getConfigurationPool()->getAdminByClass($value['class']); |
| 89 |
|
if ($instanceAdmin !== null) { |
| 90 |
|
$this->_cmsContentParameter[$key]['admin'] = $instanceAdmin; |
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
} |
| 95 |
|
|
Controller/AdminNodeController.php 1 location
|
@@ 74-78 (lines=5) @@
|
| 71 |
|
$cmsContentType = $this->container->getParameter('cms.content_types'); |
| 72 |
|
|
| 73 |
|
foreach ($cmsContentType as $key => $value) { |
| 74 |
|
if ($this->checkRolesCMS($value)) { |
| 75 |
|
if ($instanceAdmin = $this->admin->getConfigurationPool()->getAdminByClass($value['class'])) { |
| 76 |
|
$cmsContentType[$key]['admin'] = $instanceAdmin; |
| 77 |
|
} |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
// set the theme for the current Admin Form |