BlockForm::form

public BlockForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/block/src/BlockForm.php, line 123 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code public function form(array $form, FormStateInterface $form_state) { $entity = $this->entity; // Store theme se

BlockForm::create

public static BlockForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service contai

BlockForm::buildVisibilityInterface

protected BlockForm::buildVisibilityInterface(array $form, FormStateInterface $form_state) Helper function for building the visibility UI form. 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 array with the visibility UI added in. File core/modules/block/src/BlockForm.php, line 226 Class BlockForm Provides form for block instance forms. Namespa

BlockForm::actions

protected BlockForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/block/src/BlockForm.php, line 292 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected function actions(array $form, FormStateInterface $form_state) { $actions = paren

BlockForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandler File core/modules/block/src/BlockForm.php, line 65 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $themeHandler;

BlockForm::$storage

The block storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/block/src/BlockForm.php, line 37 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $storage;

BlockForm::$manager

The condition plugin manager. Type: \Drupal\Core\Condition\ConditionManager File core/modules/block/src/BlockForm.php, line 44 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $manager;

BlockForm::$language

The language manager service. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/block/src/BlockForm.php, line 58 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $language;

BlockForm::$entity

The block entity. Type: \Drupal\block\BlockInterface Overrides EntityForm::$entity File core/modules/block/src/BlockForm.php, line 30 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $entity;

BlockForm::$dispatcher

The event dispatcher service. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/modules/block/src/BlockForm.php, line 51 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code protected $dispatcher;