DatetimePopup.php in Date Popup 8
Namespace
Drupal\date_popupFile
src/DatetimePopup.phpView source
<?php
namespace Drupal\date_popup;
use Drupal\Core\Form\FormStateInterface;
use Drupal\datetime\Plugin\views\filter\Date;
/**
* The datetime popup views filter plugin.
*/
class DatetimePopup extends Date {
use DatePopupTrait;
/**
* {@inheritdoc}
*/
public function buildExposedForm(&$form, FormStateInterface $form_state) {
parent::buildExposedForm($form, $form_state);
$this
->applyDatePopupToForm($form);
}
}
Classes
Name![]() |
Description |
---|---|
DatetimePopup | The datetime popup views filter plugin. |