public function Link::__construct in Field Group Link 8.3
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ Link.php, line 86
Class
- Link
- Plugin implementation of the 'link' formatter.
Namespace
Drupal\field_group_link\Plugin\field_group\FieldGroupFormatterCode
public function __construct($plugin_id, $plugin_definition, $group, array $settings, $label, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager, ModuleHandlerInterface $module_handler, Token $token) {
parent::__construct($plugin_id, $plugin_definition, $group, $settings, $label);
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
$this->moduleHandler = $module_handler;
$this->token = $token;
}