public function Menu::__construct in Menu Entity Index 8
Same name in this branch
- 8 src/Plugin/views/filter/Menu.php \Drupal\menu_entity_index\Plugin\views\filter\Menu::__construct()
- 8 src/Plugin/views/argument_default/Menu.php \Drupal\menu_entity_index\Plugin\views\argument_default\Menu::__construct()
- 8 src/Plugin/views/field/Menu.php \Drupal\menu_entity_index\Plugin\views\field\Menu::__construct()
Constructs a PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\menu_entity_index\TrackerInterface $tracker: The Menu Entity Index Tracker service.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ field/ Menu.php, line 38
Class
- Menu
- Field plugin for menu name field.
Namespace
Drupal\menu_entity_index\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, TrackerInterface $tracker) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->definition = $plugin_definition + $configuration;
$this->tracker = $tracker;
}