public function DynamicLayoutDeriver::__construct in Dynamic Layouts 8
DynamicLayoutDeriver constructor.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
- src/
Plugin/ Derivative/ DynamicLayoutDeriver.php, line 38
Class
- DynamicLayoutDeriver
- Makes a flexible layout for each layout config entity.
Namespace
Drupal\dynamic_layouts\Plugin\DerivativeCode
public function __construct($base_plugin_id, EntityTypeManagerInterface $entityTypeManager) {
$this->basePluginId = $base_plugin_id;
$this->entityTypeManager = $entityTypeManager;
}