public function PageExposure::__construct in Flexiform 8
Create a new PageExposure form enhancer plugin.
Overrides PluginBase::__construct
File
- src/
Plugin/ FormEnhancer/ PageExposure.php, line 45
Class
- PageExposure
- Plugin for exposing custom form modes on pages.
Namespace
Drupal\flexiform\Plugin\FormEnhancerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entity_type_manager;
}