protected function Panelizer::getOperations in Panelizer 8.3
Same name and namespace in other branches
- 8.5 src/Panelizer.php \Drupal\panelizer\Panelizer::getOperations()
- 8.4 src/Panelizer.php \Drupal\panelizer\Panelizer::getOperations()
Get a list of all the Panelizer operations.
Return value
array Associative array of the human-readable operation names, keyed by the path.
1 call to Panelizer::getOperations()
- Panelizer::getPermissions in src/
Panelizer.php - Get permissions for all panelized entity types and bundles.
File
- src/
Panelizer.php, line 551
Class
- Panelizer
- The Panelizer service.
Namespace
Drupal\panelizerCode
protected function getOperations() {
return [
'content' => $this
->t('Content'),
'layout' => $this
->t('Layout'),
'revert' => $this
->t('Revert to default'),
];
}