You are here

public function IFrame::path in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/EntityBrowser/Display/IFrame.php \Drupal\entity_browser\Plugin\EntityBrowser\Display\IFrame::path()

Gets page path.

Return value

string Path where display operates.

Overrides DisplayRouterInterface::path

File

src/Plugin/EntityBrowser/Display/IFrame.php, line 234

Class

IFrame
Presents entity browser in an iFrame.

Namespace

Drupal\entity_browser\Plugin\EntityBrowser\Display

Code

public function path() {
  return '/entity-browser/' . $this->pluginDefinition['id'] . '/' . $this->configuration['entity_browser_id'];
}