public function Entity::bundle

Implements \Drupal\Core\Entity\EntityInterface::bundle().

Overrides EntityInterface::bundle

2 calls to Entity::bundle()
4 methods override Entity::bundle()
EntityNG::bundle in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements \Drupal\Core\Entity\EntityInterface::bundle().
MenuLink::bundle in drupal/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php
Implements \Drupal\Core\Entity\EntityInterface::bundle().
Message::bundle in drupal/core/modules/contact/lib/Drupal/contact/Plugin/Core/Entity/Message.php
Overrides Drupal\Core\Entity\Entity::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 132
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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