public function ContextListBuilder::__construct in Context 8
Same name and namespace in other branches
- 8.4 modules/context_ui/src/ContextListBuilder.php \Drupal\context_ui\ContextListBuilder::__construct()
- 8.0 modules/context_ui/src/ContextListBuilder.php \Drupal\context_ui\ContextListBuilder::__construct()
Constructs a new ContextListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\context\ContextManager $contextManager: The Context module context manager.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: The Drupal form builder.
Overrides EntityListBuilder::__construct
File
- modules/
context_ui/ src/ ContextListBuilder.php, line 49
Class
Namespace
Drupal\context_uiCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ContextManager $contextManager, FormBuilderInterface $formBuilder) {
parent::__construct($entity_type, $storage);
$this->contextManager = $contextManager;
$this->formBuilder = $formBuilder;
}