You are here

public function LayoutOptionForm::__construct in Bootstrap Layout Builder 1.x

Same name and namespace in other branches
  1. 2.x src/Form/LayoutOptionForm.php \Drupal\bootstrap_layout_builder\Form\LayoutOptionForm::__construct()

Constructs a BootstrapLayoutBuilderBreakpointsForm object.

Parameters

\Drupal\Core\Routing\CurrentRouteMatch $route_match: The route match service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

File

src/Form/LayoutOptionForm.php, line 51

Class

LayoutOptionForm
Form handler for the layout option entity forms.

Namespace

Drupal\bootstrap_layout_builder\Form

Code

public function __construct(CurrentRouteMatch $route_match, EntityTypeManagerInterface $entity_type_manager, MessengerInterface $messenger) {
  $this->routeMatch = $route_match;
  $this->entityTypeManager = $entity_type_manager;
  $this->messenger = $messenger;
}