public function Entity::bundle

Implements EntityInterface::bundle().

Overrides EntityInterface::bundle

4 calls to Entity::bundle()
Entity::getTranslationLanguages in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements TranslatableInterface::getTranslationLanguages().
Entity::uri in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::uri().
EntityNG::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements ComplexDataInterface::getPropertyDefinitions().
EntityNG::getTranslation in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements TranslatableInterface::getTranslation().
4 methods override Entity::bundle()
Comment::bundle in drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php
Implements Drupal\Core\Entity\EntityInterface::bundle().
Node::bundle in drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php
Implements Drupal\Core\Entity\EntityInterface::bundle().
Term::bundle in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php
Implements Drupal\Core\Entity\EntityInterface::bundle().
TestEntity::bundle in drupal/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/Core/Entity/TestEntity.php
Overrides Drupal\Core\Entity\Entity::bundle().

File

drupal/core/lib/Drupal/Core/Entity/Entity.php, line 129
Definition of Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function bundle() {
  return $this->entityType;
}