You are here

public function ResourceEntity::getEntityType in RESTful 7.2

Gets the entity type.

Return value

string The entity type.

5 calls to ResourceEntity::getEntityType()
AccessToken__1_0::getOrCreateToken in modules/restful_token_auth/src/Plugin/resource/AccessToken__1_0.php
Create a token for a user, and return its value.
RefreshToken__1_0::refreshToken in modules/restful_token_auth/src/Plugin/resource/RefreshToken__1_0.php
Create a token for a user, and return its value.
ResourceEntity::dataProviderClassName in src/Plugin/resource/ResourceEntity.php
Data provider class.
ResourceEntity::processPublicFields in src/Plugin/resource/ResourceEntity.php
Get the public fields with the default values applied to them.
ResourceEntity::viewModeFields in src/Plugin/resource/ResourceEntity.php
Get the public fields with default values based on view mode information.

File

src/Plugin/resource/ResourceEntity.php, line 148
Contains \Drupal\restful\Plugin\resource\ResourceEntity.

Class

ResourceEntity

Namespace

Drupal\restful\Plugin\resource

Code

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