public function BlockListBuilder::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block/src/BlockListBuilder.php \Drupal\block\BlockListBuilder::__construct()
Constructs a new BlockListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
Overrides EntityListBuilder::__construct
File
- core/
modules/ block/ src/ BlockListBuilder.php, line 76 - Contains \Drupal\block\BlockListBuilder.
Class
- BlockListBuilder
- Defines a class to build a listing of block entities.
Namespace
Drupal\blockCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeManagerInterface $theme_manager, FormBuilderInterface $form_builder) {
parent::__construct($entity_type, $storage);
$this->themeManager = $theme_manager;
$this->formBuilder = $form_builder;
}