You are here

public function FillPdfActionPluginBase::defaultConfiguration in FillPDF 8.4

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

Gets default configuration for this plugin.

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

Return value

array An associative array with the default 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::defaultConfiguration()

File

src/Plugin/FillPdfActionPluginBase.php, line 73

Class

FillPdfActionPluginBase
Base class for FillPDF action plugins.

Namespace

Drupal\fillpdf\Plugin

Code

public function defaultConfiguration() {
  @trigger_error('FillPdfActionPluginInterface::defaultConfiguration() 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);
  return [];
}