You are here

DisplayRouterInterface.php in Entity Browser 8.2

Same filename and directory in other branches
  1. 8 src/DisplayRouterInterface.php

File

src/DisplayRouterInterface.php
View source
<?php

namespace Drupal\entity_browser;


/**
 * Defines an interface for displays that operate on routes.
 *
 * In addition to implementing the interface, specify 'uses_routes' in the
 * plugin definition.
 */
interface DisplayRouterInterface {

  /**
   * Gets page path.
   *
   * @return string
   *   Path where display operates.
   */
  public function path();

}

Interfaces

Namesort descending Description
DisplayRouterInterface Defines an interface for displays that operate on routes.