public function ItemListController::__construct in Feeds 8.3
The constructor.
Parameters
\Drupal\Component\Datetime\TimeInterface $time: The object for obtaining system time.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The services of date.
File
- src/
Controller/ ItemListController.php, line 43
Class
- ItemListController
- Lists the feed items belonging to a feed.
Namespace
Drupal\feeds\ControllerCode
public function __construct(TimeInterface $time, DateFormatterInterface $date_formatter) {
$this->time = $time;
$this->dateFormatter = $date_formatter;
}