WorkspaceSwitcherBlock::$formBuilder

Same name in other branches
  1. 8.9.x core/modules/workspaces/src/Plugin/Block/WorkspaceSwitcherBlock.php \Drupal\workspaces\Plugin\Block\WorkspaceSwitcherBlock::formBuilder
  2. 10 core/modules/workspaces/src/Plugin/Block/WorkspaceSwitcherBlock.php \Drupal\workspaces\Plugin\Block\WorkspaceSwitcherBlock::formBuilder
  3. 11.x core/modules/workspaces/src/Plugin/Block/WorkspaceSwitcherBlock.php \Drupal\workspaces\Plugin\Block\WorkspaceSwitcherBlock::formBuilder

The form builder.

Type: \Drupal\Core\Form\FormBuilderInterface

File

core/modules/workspaces/src/Plugin/Block/WorkspaceSwitcherBlock.php, line 28

Class

WorkspaceSwitcherBlock
Provides a 'Workspace switcher' block.

Namespace

Drupal\workspaces\Plugin\Block

Code

protected $formBuilder;

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