You are here

function LinkitSearchPluginTaxonomy_term::__construct in Linkit 7.3

Overrides LinkitSearchPluginEntity::__construct().

Overrides LinkitSearchPluginEntity::__construct

File

plugins/linkit_search/taxonomy_term.class.php, line 15
Define Linkit term search plugin class.

Class

LinkitSearchPluginTaxonomy_term
Reprecents a Linkit term search plugin.

Code

function __construct($plugin, $profile) {

  /**
   * The term entity doesn't 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);
}