function ForumVocabulary::__construct

Constructs a MigrationLookup 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.

File

core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php, line 47

Class

ForumVocabulary
Checks if the vocabulary being migrated is the one used for forums.

Namespace

Drupal\taxonomy\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
    @trigger_error(__CLASS__ . 'is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \\Drupal\\forum\\Plugin\\migrate\\process\\ForumVocabulary instead. See https://www.drupal.org/node/3387830', 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.