You are here

public function Settings::__construct in Flickr API Integration 8

Settings constructor.

Parameters

\Drupal\flickr_api\Form\ConfigFactoryInterface $config_factory: Config Factory.

\Drupal\flickr_api\Form\DateFormatterInterface $date_formatter: Date Formatter.

Overrides ConfigFormBase::__construct

File

src/Form/Settings.php, line 36

Class

Settings
Implements the Flickr API Settings form controller.

Namespace

Drupal\flickr_api\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, DateFormatterInterface $date_formatter) {
  parent::__construct($config_factory);
  $this->dateFormatter = $date_formatter;
}