You are here

public function FlickrFilter::__construct in Flickr 8

FlickrFilter constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\flickr\Service\Helpers $helpers: Helpers.

\Drupal\flickr\Service\Photos $photos: Photos.

\Drupal\flickr\Service\Photosets $photosets: Photosets.

Overrides FilterBase::__construct

File

modules/flickr_filter/src/Plugin/Filter/FlickrFilter.php, line 66

Class

FlickrFilter
Provides a filter to insert Flickr photo.

Namespace

Drupal\flickr_filter\Plugin\Filter

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Helpers $helpers, Photos $photos, Photosets $photosets) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->helpers = $helpers;
  $this->photos = $photos;
  $this->photosets = $photosets;
}