You are here

public function FillPdfActionPluginBase::setConfiguration in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Plugin/FillPdfActionPluginBase.php \Drupal\fillpdf\Plugin\FillPdfActionPluginBase::setConfiguration()

Sets the configuration for this plugin instance.

@todo Remove superfluous docs once drupal:8.6.x is no longer supported.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Deprecated

in fillpdf:8.x-4.8 and is removed from fillpdf:8.x-5.0. Custom FillPdfActionPlugins may implement ConfigurableInterface instead.

See also

https://www.drupal.org/project/fillpdf/issues/3058862

\Drupal\Component\Plugin\ConfigurableInterface::setConfiguration()

File

src/Plugin/FillPdfActionPluginBase.php, line 56

Class

FillPdfActionPluginBase
Base class for FillPDF action plugins.

Namespace

Drupal\fillpdf\Plugin

Code

public function setConfiguration(array $configuration) {
  @trigger_error('FillPdfActionPluginInterface::setConfiguration() is deprecated in fillpdf:8.x-4.8 and is removed from fillpdf:8.x-5.0. Custom FillPdfActionPlugins may extend ConfigurableInterface instead. See https://www.drupal.org/project/fillpdf/issues/3058862', E_USER_DEPRECATED);
  $this->configuration = $configuration;
}