You are here

public function LogAddController::getAddFormTitle in Log entity 8

Provides the page title for this controller.

Parameters

EntityInterface $log_type: The custom bundle/type being added.

Return value

string The page title.

File

src/Controller/LogAddController.php, line 91

Class

LogAddController
Class LogAddController.

Namespace

Drupal\log\Controller

Code

public function getAddFormTitle(EntityInterface $log_type) {
  return t('Create of bundle @label', array(
    '@label' => $log_type
      ->label(),
  ));
}