You are here

protected function EntityHandlerBase::hasLabelProperty in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::hasLabelProperty()
  2. 2.0.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::hasLabelProperty()

Check whether the entity type supports having a label.

Return value

bool

2 calls to EntityHandlerBase::hasLabelProperty()
EntityHandlerBase::createNew in src/Plugin/EntityHandlerBase.php
EntityHandlerBase::setEntityValues in src/Plugin/EntityHandlerBase.php
Set the values for the pulled entity.
2 methods override EntityHandlerBase::hasLabelProperty()
DefaultConfigEntityHandler::hasLabelProperty in src/Plugin/cms_content_sync/entity_handler/DefaultConfigEntityHandler.php
Check whether the entity type supports having a label.
DefaultContentEntityHandler::hasLabelProperty in src/Plugin/cms_content_sync/entity_handler/DefaultContentEntityHandler.php
Check whether the entity type supports having a label.

File

src/Plugin/EntityHandlerBase.php, line 445

Class

EntityHandlerBase
Common base class for entity handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

protected function hasLabelProperty() {
  return true;
}