protected function PushEntities::getLabels in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::getLabels()
- 2.0.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::getLabels()
Parameters
$entities:
Return value
array
2 calls to PushEntities::getLabels()
- PushEntities::getSkippedNoFlow in src/
Controller/ PushEntities.php - PushEntities::getSkippedUnpushed in src/
Controller/ PushEntities.php
File
- src/
Controller/ PushEntities.php, line 334
Class
- PushEntities
- Pull controller.
Namespace
Drupal\cms_content_sync\ControllerCode
protected function getLabels($entities) {
$result = [];
foreach ($entities as $entity) {
$result[] = $entity
->label();
}
return $result;
}