You are here

protected property SimpleFormBlock::$formBuilder in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/form_api_example/src/Plugin/Block/SimpleFormBlock.php \Drupal\form_api_example\Plugin\Block\SimpleFormBlock::formBuilder

Form builder service.

Type: \Drupal\Core\Form\FormBuilderInterface

File

form_api_example/src/Plugin/Block/SimpleFormBlock.php, line 30

Class

SimpleFormBlock
Provides a 'Example: Display a form' block.

Namespace

Drupal\form_api_example\Plugin\Block

Code

protected $formBuilder;