You are here

public function ExportEntity::isPublished in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::isPublished()
  2. 3.x src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::isPublished()

Returns the Export entity published status indicator.

Unpublished Export entity are only visible to restricted users.

Return value

bool TRUE if the Export entity is published.

Overrides ExportEntityInterface::isPublished

File

src/Entity/ExportEntity.php, line 146

Class

ExportEntity
Defines the Export entity entity.

Namespace

Drupal\content_synchronizer\Entity

Code

public function isPublished() {
  return (bool) $this
    ->getEntityKey('status');
}