public function PanelizerWidget::getPanelizerManager in Panelizer 8.3
Same name and namespace in other branches
- 8.5 src/Plugin/Field/FieldWidget/PanelizerWidget.php \Drupal\panelizer\Plugin\Field\FieldWidget\PanelizerWidget::getPanelizerManager()
- 8.4 src/Plugin/Field/FieldWidget/PanelizerWidget.php \Drupal\panelizer\Plugin\Field\FieldWidget\PanelizerWidget::getPanelizerManager()
Returns the Panelizer entity plugin manager.
Return value
\Drupal\panelizer\Plugin\PanelizerEntityManager
File
- src/
Plugin/ Field/ FieldWidget/ PanelizerWidget.php, line 39
Class
- PanelizerWidget
- Plugin implementation of the 'panelizer' widget.
Namespace
Drupal\panelizer\Plugin\Field\FieldWidgetCode
public function getPanelizerManager() {
// @todo: is it possible to inject this?
return \Drupal::service('plugin.manager.panelizer_entity');
}