You are here

public function FixedBlockContent::getAutoExportState in Fixed Block Content 8

Gets the automatic default content export state.

Return value

int The auto-export state. 0 mean disabled, 1 only if empty, 2 always.

Overrides FixedBlockContentInterface::getAutoExportState

File

src/Entity/FixedBlockContent.php, line 222

Class

FixedBlockContent
Configuration entity for the fixed block content.

Namespace

Drupal\fixed_block_content\Entity

Code

public function getAutoExportState() {
  return $this->auto_export ?: FixedBlockContentInterface::AUTO_EXPORT_DISABLED;
}