ViewEditForm::__construct

public ViewEditForm::__construct(SharedTempStoreFactory $temp_store_factory, RequestStack $requestStack, DateFormatterInterface $date_formatter, ElementInfoManagerInterface $element_info)

Constructs a new ViewEditForm object.

Parameters

\Drupal\user\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object.

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack object.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date Formatter service.

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: The element info manager.

File

core/modules/views_ui/src/ViewEditForm.php, line 65

Class

ViewEditForm
Form controller for the Views edit form.

Namespace

Drupal\views_ui

Code

public function __construct(SharedTempStoreFactory $temp_store_factory, RequestStack $requestStack, DateFormatterInterface $date_formatter, ElementInfoManagerInterface $element_info) {
  $this->tempStore = $temp_store_factory->get('views');
  $this->requestStack = $requestStack;
  $this->dateFormatter = $date_formatter;
  $this->elementInfo = $element_info;
}
doc_Drupal
2016-10-29 09:54:02
Comments
Leave a Comment

Please login to continue.