You are here

protected function DefaultPanelizerHandler::shouldPushReferencedBlocks in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultPanelizerHandler::shouldPushReferencedBlocks()
  2. 2.0.x src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultPanelizerHandler::shouldPushReferencedBlocks()
2 calls to DefaultPanelizerHandler::shouldPushReferencedBlocks()
DefaultPanelizerHandler::getHandlerSettings in src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php
Get the handler settings.
DefaultPanelizerHandler::push in src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php

File

src/Plugin/cms_content_sync/field_handler/DefaultPanelizerHandler.php, line 179

Class

DefaultPanelizerHandler
Providing a handler for the panelizer module.

Namespace

Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler

Code

protected function shouldPushReferencedBlocks() {
  return isset($this->settings['handler_settings']['export_referenced_custom_blocks']) && 0 === $this->settings['handler_settings']['export_referenced_custom_blocks'] ? 0 : 1;
}