EntityTypeInterface::getBundleConfigDependency

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.

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);
doc_Drupal
2016-10-29 09:08:20
Comments
Leave a Comment

Please login to continue.