function LinkOptions::__construct

Same name and namespace in other branches
  1. main core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php \Drupal\menu_link_content\Plugin\migrate\process\LinkOptions::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

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.

Overrides PluginBase::__construct

File

core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php, line 30

Class

LinkOptions
Converts links options.

Namespace

Drupal\menu_link_content\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  @trigger_error(__CLASS__ . ' is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use \\Drupal\\migrate\\Plugin\\migrate\\process\\LinkOptions instead. See https://www.drupal.org/node/3533560', E_USER_DEPRECATED);
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.