Version 1
[yaffs-website] / web / modules / contrib / devel / webprofiler / src / Entity / Decorators / Config / VocabularyStorageDecorator.php
diff --git a/web/modules/contrib/devel/webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php b/web/modules/contrib/devel/webprofiler/src/Entity/Decorators/Config/VocabularyStorageDecorator.php
new file mode 100644 (file)
index 0000000..6c40134
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+namespace Drupal\webprofiler\Entity\Decorators\Config;
+
+use Drupal\taxonomy\VocabularyStorageInterface;
+
+/**
+ * Class EntityStorageDecorator
+ */
+class VocabularyStorageDecorator extends ConfigEntityStorageDecorator implements VocabularyStorageInterface {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getToplevelTids($vids) {
+    $this->getOriginalObject()->getToplevelTids($vids);
+  }
+
+}