You are here

public function FieldConfigurationForm::__construct in Search API 8

Constructs a FieldConfigurationForm object.

Parameters

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

\Drupal\Core\Render\RendererInterface $renderer: The renderer to use.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

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

File

src/Form/FieldConfigurationForm.php, line 68

Class

FieldConfigurationForm
Defines a form for changing a field's configuration.

Namespace

Drupal\search_api\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, RendererInterface $renderer, DateFormatterInterface $date_formatter, RequestStack $request_stack, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->renderer = $renderer;
  $this->dateFormatter = $date_formatter;
  $this->requestStack = $request_stack;
  $this->messenger = $messenger;
}