You are here

public function PanelizerWidget::getPanelizerManager in Panelizer 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/Field/FieldWidget/PanelizerWidget.php \Drupal\panelizer\Plugin\Field\FieldWidget\PanelizerWidget::getPanelizerManager()
  2. 8.3 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\FieldWidget

Code

public function getPanelizerManager() {

  // @todo: is it possible to inject this?
  return \Drupal::service('plugin.manager.panelizer_entity');
}