You are here

public function BehaviorInvokerInterface::getRabbitHoleValuesForEntityType in Rabbit Hole 8

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

An entity type's rabbit hole config, or the default if it does not exist.

Return an entity types's rabbit hole configuration or, failing that, the base default configuration.

Return value

array|false An array of values from the entity's fields matching the base properties added by rabbit hole. Explicit false if no matching configuration was found.

1 method overrides BehaviorInvokerInterface::getRabbitHoleValuesForEntityType()
BehaviorInvoker::getRabbitHoleValuesForEntityType in src/BehaviorInvoker.php
An entity type's rabbit hole config, or the default if it does not exist.

File

src/BehaviorInvokerInterface.php, line 92

Class

BehaviorInvokerInterface
Defines an interface for behavior invoker service.

Namespace

Drupal\rabbit_hole

Code

public function getRabbitHoleValuesForEntityType($entity_type_id, $bundle_id = NULL);