106c106 < index 4e98a64..cda4f5f 100644 --- > index 1856f9a..226a9d8 100644 123c123 < index e650551..3a11220 --- > index e650551..a68bbdc 212c212 < @@ -183,4 +139,123 @@ public static function postDelete(EntityStorageInterface $storage, array $entiti --- > @@ -183,4 +139,85 @@ public static function postDelete(EntityStorageInterface $storage, array $entiti 219,233d218 < + public function getWeight() { < + return $this->get('weight'); < + } < + < + /** < + * {@inheritdoc} < + */ < + public function setWeight($weight) { < + $this->set('weight', $weight); < + return $this; < + } < + < + /** < + * {@inheritdoc} < + */ 241,248d225 < + public function setDescription($description) { < + $this->set('description', $description); < + return $this; < + } < + < + /** < + * {@inheritdoc} < + */ 264,278d240 < + public function getVid() { < + return $this->get('vid'); < + } < + < + /** < + * {@inheritdoc} < + */ < + public function setVid($machineName) { < + $this->set('vid', $machineName); < + return $this; < + } < + < + /** < + * {@inheritdoc} < + */ 697c659 < index 7eabb9c..462781e --- > index 7eabb9c..e54e52c 700c662 < @@ -15,4 +15,101 @@ --- > @@ -15,4 +15,53 @@ 723,741d684 < + * Sets the vocabulary weight. < + * < + * @param integer $weight < + * The weight of vocabulary. < + * < + * @return \Drupal\taxonomy\VocabularyInterface < + * The called Vocabulary entity. < + */ < + public function setWeight($weight); < + < + /** < + * Returns the vocabulary weight. < + * < + * @return integer < + * The vocabulary weight. < + */ < + public function getWeight(); < + < + /** 765,775d707 < + * Sets the vocabulary description. < + * < + * @param string description < + * The vocabulary description. < + * < + * @return \Drupal\taxonomy\VocabularyInterface < + * The called Vocabulary entity. < + */ < + public function setDescription($description); < + < + /** 783,800d714 < + /** < + * Sets the vocabulary vid. < + * < + * @param string $machineName < + * The vocabulary machine name. < + * < + * @return \Drupal\taxonomy\VocabularyInterface < + * The called Vocabulary entity. < + */ < + public function setVid($machineName); < + < + /** < + * Returns the vocabulary vid. < + * < + * @return string < + * The vocabulary machine name. < + */ < + public function getVid(); 863c777,779 < index 270da71..673fd07 100644 --- > old mode 100644 > new mode 100755 > index 270da71..675aa82 871c787 < + $base_autocomplete_path = 'taxonomy/autocomplete_vid/' . $this->vocabulary->getVid(); --- > + $base_autocomplete_path = 'taxonomy/autocomplete_vid/' . $this->vocabulary->id();