You are here

function LinkitPluginTaxonomy_Term::__construct in Linkit 7.2

Initialize this plugin with the plugin, profile, and entity specific variables.

Parameters

object $profile: The Linkit profile to use.

array $plugin: The plugin array.

Overrides LinkitPluginEntity::__construct

File

plugins/linkit_plugins/linkit-plugin-taxonomy_term.class.php, line 8
Define Linkit term plugin class.

Class

LinkitPluginTaxonomy_Term
@file Define Linkit term plugin class.

Code

function __construct($plugin, $profile) {

  /**
   * The term entity dont use the same column name as in the entity keys
   * bundle definition, so lets add it our self.
   */
  $this->entity_key_bundle = 'vid';
  parent::__construct($plugin, $profile);
}