public function NoReferrerFilter::__construct in No Referrer 8
Constructs No Referrer filter.
Parameters
array $configuration: Plugin configuration.
string $plugin_id: Plugin ID.
mixed $plugin_definition: Plugin definition.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
Overrides FilterBase::__construct
File
- src/
Plugin/ Filter/ NoReferrerFilter.php, line 45
Class
- NoReferrerFilter
- Provides a filter to apply the noreferrer attribute.
Namespace
Drupal\noreferrer\Plugin\FilterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configFactory = $config_factory;
}