You are here

public function EntityStatus::getEntityTypeName in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getEntityTypeName()
  2. 2.0.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getEntityTypeName()

Returns the entity type name of the entity this information belongs to.

Return value

string

4 calls to EntityStatus::getEntityTypeName()
EntityStatus::getEntity in src/Entity/EntityStatus.php
Get the entity this entity status belongs to.
EntityStatus::isOverriddenLocally in src/Entity/EntityStatus.php
Returns the information if the user override the entity locally.
EntityStatus::isSourceEntity in src/Entity/EntityStatus.php
Returns the information if the entity has originally been created on this site.
EntityStatus::setLastPull in src/Entity/EntityStatus.php
Set the last pull timestamp.

File

src/Entity/EntityStatus.php, line 920

Class

EntityStatus
Defines the "Content Sync - Entity Status" entity type.

Namespace

Drupal\cms_content_sync\Entity

Code

public function getEntityTypeName() {
  return $this
    ->get('entity_type')->value;
}