You are here

public function BlogController::userBlogTitle in Blog 8.2

Same name and namespace in other branches
  1. 3.x src/Controller/BlogController.php \Drupal\blog\Controller\BlogController::userBlogTitle()

Returns a title for user blog pages.

Parameters

\Drupal\user\UserInterface $user:

Return value

string A title string for a user blog page.

File

src/Controller/BlogController.php, line 49

Class

BlogController
Controller routines for blog.

Namespace

Drupal\blog\Controller

Code

public function userBlogTitle(UserInterface $user) {
  return $this->blogLister
    ->userBlogTitle($user);
}