public function EntityStatus::getPool in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getPool()
- 2.1.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getPool()
Get the pool.
Return value
File
- src/
Entity/ EntityStatus.php, line 986
Class
- EntityStatus
- Defines the "Content Sync - Entity Status" entity type.
Namespace
Drupal\cms_content_sync\EntityCode
public function getPool() {
return Pool::getAll()[$this
->get('pool')->value];
}