function BlockPluginTrait::createPlaceholder

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::createPlaceholder()
11 methods override BlockPluginTrait::createPlaceholder()
BlockContentBlock::createPlaceholder in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
EntityTestBlock::createPlaceholder in core/modules/system/tests/modules/entity_test/src/Plugin/Block/EntityTestBlock.php
HelpBlock::createPlaceholder in core/modules/help/src/Plugin/Block/HelpBlock.php
LanguageBlock::createPlaceholder in core/modules/language/src/Plugin/Block/LanguageBlock.php
LocalActionsBlock::createPlaceholder in core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php

... See full list

File

core/lib/Drupal/Core/Block/BlockPluginTrait.php, line 302

Class

BlockPluginTrait
Provides the base implementation of a block plugin.

Namespace

Drupal\Core\Block

Code

public function createPlaceholder() : bool {
  return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.