public function Entity::getType

Implements \Drupal\Core\TypedData\TypedDataInterface::getType().

Overrides TypedDataInterface::getType

1 call to Entity::getType()
2 methods override Entity::getType()
Action::getType in drupal/core/modules/system/lib/Drupal/system/Plugin/Core/Entity/Action.php
Implements \Drupal\Core\TypedData\TypedDataInterface::getType().
EntityNG::getType in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Gets the typed data type of the entity.

File

drupal/core/lib/Drupal/Core/Entity/Entity.php, line 426
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getType() {

  // @todo: Incorporate the entity type here by making entities proper
  // typed data. See http://drupal.org/node/1868004.
  return 'entity';
}