getAllChildIds example

if ($this->getDefinition($id, FALSE)) {
      return $this->treeStorage->getRootPathIds($id);
    }
    return NULL;
  }

  /** * {@inheritdoc} */
  public function getChildIds($id) {
    if ($this->getDefinition($id, FALSE)) {
      return $this->treeStorage->getAllChildIds($id);
    }
    return NULL;
  }

  /** * {@inheritdoc} */
  public function loadLinksByRoute($route_name, array $route_parameters = []$menu_name = NULL) {
    $instances = [];
    $loaded = $this->treeStorage->loadByRoute($route_name$route_parameters$menu_name);
    foreach ($loaded as $plugin_id => $definition) {
      
Home | Imprint | This part of the site doesn't use cookies.