You are here

public function PushEntities::isEmpty in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::isEmpty()
  2. 2.0.x src/Controller/PushEntities.php \Drupal\cms_content_sync\Controller\PushEntities::isEmpty()

Check if there actually are any operations to perform now.

Return value

bool

File

src/Controller/PushEntities.php, line 256

Class

PushEntities
Pull controller.

Namespace

Drupal\cms_content_sync\Controller

Code

public function isEmpty() {
  return !count($this->operations);
}