public function EntityStatus::isManualPushEnabled in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::isManualPushEnabled()
- 2.0.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::isManualPushEnabled()
Returns the information if the entity has been chosen by the user to be pushed with this flow and pool.
Return value
bool
File
- src/
Entity/ EntityStatus.php, line 624
Class
- EntityStatus
- Defines the "Content Sync - Entity Status" entity type.
Namespace
Drupal\cms_content_sync\EntityCode
public function isManualPushEnabled() {
return (bool) ($this
->get('flags')->value & self::FLAG_PUSH_ENABLED);
}