You are here

public function EntityExtender::__construct in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x src/EntityExtender.php \Drupal\rabbit_hole\EntityExtender::__construct()

Constructor.

File

src/EntityExtender.php, line 33

Class

EntityExtender
Adds Rabbit Hole fields to supported entity types.

Namespace

Drupal\rabbit_hole

Code

public function __construct(RabbitHoleBehaviorPluginManager $plugin_manager_rabbit_hole_behavior_plugin, RabbitHoleEntityPluginManager $plugin_manager_rabbit_hole_entity_plugin) {
  $this->rhBehaviorPluginManager = $plugin_manager_rabbit_hole_behavior_plugin;
  $this->rhEntityPluginManager = $plugin_manager_rabbit_hole_entity_plugin;
}