You are here

protected function EntityHandlerBase::getEntityName in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 2.1.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::getEntityName()
1 call to EntityHandlerBase::getEntityName()
EntityHandlerBase::push in src/Plugin/EntityHandlerBase.php

File

src/Plugin/EntityHandlerBase.php, line 815

Class

EntityHandlerBase
Common base class for entity handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

protected function getEntityName(EntityInterface $entity, PushIntent $intent) {
  return $entity
    ->label();
}