public property CustomBlock::$isDefaultRevision

Indicates whether this is the default block revision.

The default revision of a block is the one loaded when no specific revision has been specified. Only default revisions are saved to the block_custom table.

Type: \Drupal\Core\Entity\Field\FieldInterface

Overrides Entity::$isDefaultRevision

File

drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Core/Entity/CustomBlock.php, line 75
Contains \Drupal\custom_block\Plugin\Core\Entity\CustomBlock.

Class

CustomBlock
Defines the custom block entity class.

Namespace

Drupal\custom_block\Plugin\Core\Entity

Code

public $isDefaultRevision = TRUE;