public function FieldGroupTable::__construct in Field Group Table 8
Constructs a Popup object.
Parameters
string $plugin_id: The plugin_id for the formatter.
mixed $plugin_definition: The plugin implementation definition.
object $group: The group object.
array $settings: The formatter settings.
string $label: The formatter label.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The Entity field manager.
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ FieldGroupTable.php, line 116
Class
- FieldGroupTable
- Plugin implementation of the 'field_group_table' formatter.
Namespace
Drupal\field_group_table\Plugin\field_group\FieldGroupFormatterCode
public function __construct($plugin_id, $plugin_definition, $group, array $settings, $label, ModuleHandlerInterface $module_handler, EntityFieldManagerInterface $entity_field_manager) {
parent::__construct($plugin_id, $plugin_definition, $group, $settings, $label);
$this->moduleHandler = $module_handler;
$this->entityFieldManager = $entity_field_manager;
}