You are here

protected function EntityHandlerBase::pushReferencedMenuItems in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::pushReferencedMenuItems()
  2. 2.0.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::pushReferencedMenuItems()

Whether or not menu item references should be pushed.

Return value

bool

1 call to EntityHandlerBase::pushReferencedMenuItems()
EntityHandlerBase::push in src/Plugin/EntityHandlerBase.php

File

src/Plugin/EntityHandlerBase.php, line 375

Class

EntityHandlerBase
Common base class for entity handler plugins.

Namespace

Drupal\cms_content_sync\Plugin

Code

protected function pushReferencedMenuItems() {
  if (!isset($this->settings['handler_settings']['export_menu_items'])) {
    return true;
  }
  return 0 !== $this->settings['handler_settings']['export_menu_items'];
}