You are here

public function ScheduledUpdateAddController::getAddFormTitle in Scheduled Updates 8

Provides the page title for this controller.

Parameters

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

Return value

string The page title.

1 string reference to 'ScheduledUpdateAddController::getAddFormTitle'
scheduled_updates.routing.yml in ./scheduled_updates.routing.yml
scheduled_updates.routing.yml

File

src/Controller/ScheduledUpdateAddController.php, line 115
Contains Drupal\scheduled_updates\Controller\ScheduledUpdateAddController.

Class

ScheduledUpdateAddController
Class ScheduledUpdateAddController.

Namespace

Drupal\scheduled_updates\Controller

Code

public function getAddFormTitle(EntityInterface $scheduled_update_type) {
  return t('Create <em>@label</em> Scheduled Update', array(
    '@label' => $scheduled_update_type
      ->label(),
  ));
}