You are here

interface PathHelperInterface in Menu Trail By Path 8

Hierarchy

Expanded class hierarchy of PathHelperInterface

All classes that implement PathHelperInterface

1 file declares its use of PathHelperInterface
MenuTrailByPathActiveTrail.php in src/MenuTrailByPathActiveTrail.php

File

src/Path/PathHelperInterface.php, line 5

Namespace

Drupal\menu_trail_by_path\Path
View source
interface PathHelperInterface {

  /**
   * @return \Drupal\Core\Url[]
   */
  public function getUrls();

  /**
   * Returns a list of path elements based on the maximum path parts setting.
   *
   * @return string[]
   *   A list of path elements.
   */
  public function getPathElements();

}

Members

Namesort descending Modifiers Type Description Overrides
PathHelperInterface::getPathElements public function Returns a list of path elements based on the maximum path parts setting. 1
PathHelperInterface::getUrls public function 1