public function HideNotificationController::__construct in OptimizeDB 8
Controller constructor.
Parameters
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter.
File
- src/
Controller/ HideNotificationController.php, line 47
Class
- HideNotificationController
- Page hide notification.
Namespace
Drupal\optimizedb\ControllerCode
public function __construct(TimeInterface $time, ConfigFactoryInterface $configFactory, DateFormatterInterface $dateFormatter) {
$this->time = $time;
$this->configFactory = $configFactory;
$this->dateFormatter = $dateFormatter;
}