8.3.x EntityTypeInterface.php public EntityTypeInterface::getBundleConfigDependency($bundle)
8.0.x EntityTypeInterface.php public EntityTypeInterface::getBundleConfigDependency($bundle)
8.1.x EntityTypeInterface.php public EntityTypeInterface::getBundleConfigDependency($bundle)
8.2.x EntityTypeInterface.php public EntityTypeInterface::getBundleConfigDependency($bundle)
8.4.x EntityTypeInterface.php public EntityTypeInterface::getBundleConfigDependency($bundle)

Gets the config dependency info for this entity, if any exists.

Parameters

string $bundle: The bundle name.

Return value

array An associative array containing the following keys:

  • 'type': The config dependency type (e.g. 'module', 'config').
  • 'name': The name of the config dependency.
1 method overrides EntityTypeInterface::getBundleConfigDependency()
EntityType::getBundleConfigDependency in core/lib/Drupal/Core/Entity/EntityType.php
Gets the config dependency info for this entity, if any exists.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 790

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getBundleConfigDependency($bundle);