EntityDataDefinitionInterface::setBundles

public EntityDataDefinitionInterface::setBundles(array $bundles = NULL)

Sets the array of possible entity bundles.

Parameters

array|null $bundles: The array of possible bundles, or NULL for any.

Return value

$this

File

core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php, line 46

Class

EntityDataDefinitionInterface
Interface for typed data entity definitions.

Namespace

Drupal\Core\Entity\TypedData

Code

public function setBundles(array $bundles = NULL);
doc_Drupal
2016-10-29 09:04:57
Comments
Leave a Comment

Please login to continue.