You are here

public function EntityBrowserFormController::title in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Controllers/EntityBrowserFormController.php \Drupal\entity_browser\Controllers\EntityBrowserFormController::title()

Standalone entity browser title callback.

File

src/Controllers/EntityBrowserFormController.php, line 95

Class

EntityBrowserFormController
Standalone entity browser page.

Namespace

Drupal\entity_browser\Controllers

Code

public function title() {
  $browser = $this
    ->loadBrowser();
  return Xss::filter($browser
    ->label());
}