protected function SitemapSettingsForm::getVocabularies in Sitemap 8
Helper function to get all vocabularies.
Return value
\Drupal\Core\Entity\EntityInterface[]|\Drupal\taxonomy\Entity\Vocabulary[] The list of vocabularies.
1 call to SitemapSettingsForm::getVocabularies()
- SitemapSettingsForm::buildForm in src/
Form/ SitemapSettingsForm.php - Form constructor.
File
- src/
Form/ SitemapSettingsForm.php, line 424
Class
- SitemapSettingsForm
- Provides a configuration form for sitemap.
Namespace
Drupal\sitemap\FormCode
protected function getVocabularies() {
return Vocabulary::loadMultiple();
}