public function FrameworkInterface::newVocabularyTerm in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::newVocabularyTerm()
- 7.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::newVocabularyTerm()
Creates a new vocabulary term.
Parameters
object $vocabulary: The vocabulary object.
string $name: The name of the new taxonomy term.
Return value
object The taxonomy term object.
1 method overrides FrameworkInterface::newVocabularyTerm()
- Framework::newVocabularyTerm in api/
src/ Framework/ Framework.php - Creates a new vocabulary term.
File
- api/
src/ Framework/ FrameworkInterface.php, line 192
Class
- FrameworkInterface
- Defines and abstracts all functions which are used by our module.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function newVocabularyTerm($vocabulary, $name);