public function EntityExtender::__construct in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 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_holeCode
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;
}