public function SolrConfigForm::__construct in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/Form/SolrConfigForm.php \Drupal\search_api_solr\Form\SolrConfigForm::__construct()
Constructs a SolrConfigForm object.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- src/
Form/ SolrConfigForm.php, line 34
Class
- SolrConfigForm
- A basic form with a passed entity with an interface.
Namespace
Drupal\search_api_solr\FormCode
public function __construct(DateFormatterInterface $date_formatter) {
$this->dateFormatter = $date_formatter;
}