BlockListBuilder::submitForm

public BlockListBuilder::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/block/src/BlockListBuilder.php, line 357 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code public functio

BlockListBuilder::$request

The current request. Type: \Symfony\Component\HttpFoundation\Request File core/modules/block/src/BlockListBuilder.php, line 38 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected $request;

BlockListBuilder::buildBlocksForm

protected BlockListBuilder::buildBlocksForm() Builds the main "Blocks" portion of the form. Return value array File core/modules/block/src/BlockListBuilder.php, line 146 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected function buildBlocksForm() { // Build blocks first for each region. $blocks = []; $entities = $this->load(); /** @var \Drupal\block\BlockInterface[] $entities */ foreach ($entities as $entity

BlockListBuilder::getDefaultOperations

public BlockListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/block/src/BlockListBuilder.php, line 337 Class BlockListBuilder Defines a class to build a listing of block entities. N

BlockListBuilder::createInstance

public static BlockListBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\Dependen

BlockListBuilder::$theme

The theme containing the blocks. Type: string File core/modules/block/src/BlockListBuilder.php, line 31 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected $theme;

BlockListBuilder::$themeManager

The theme manager. Type: \Drupal\Core\Theme\ThemeManagerInterface File core/modules/block/src/BlockListBuilder.php, line 45 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected $themeManager;

BlockListBuilder::buildForm

public BlockListBuilder::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/block/src/BlockListBuilder.php, line 119 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\

BlockListBuilder::$limit

The number of entities to list per page, or FALSE to list all entities. For example, set this to FALSE if the list uses client-side filters that require all entities to be listed (like the views overview). Type: int|false Overrides EntityListBuilder::$limit File core/modules/block/src/BlockListBuilder.php, line 57 Class BlockListBuilder Defines a class to build a listing of block entities. Namespace Drupal\block Code protected $limit = FALSE;

BlockListBuilder

Defines a class to build a listing of block entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\block\BlockListBuilder implements FormInterface See also \Drupal\block\Entity\Block File core/modules/block/src/BlockListBuilder.php, line 24 Namespa