You are here

public function MatcherController::editTitle in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_match/src/Controller/MatcherController.php \Drupal\crm_core_match\Controller\MatcherController::editTitle()
  2. 8.2 modules/crm_core_match/src/Controller/MatcherController.php \Drupal\crm_core_match\Controller\MatcherController::editTitle()

Gets the edit matcher title.

Parameters

\Drupal\crm_core_match\Matcher\MatcherConfigInterface $crm_core_match: The edited matcher.

Return value

string The page title.

1 string reference to 'MatcherController::editTitle'
crm_core_match.routing.yml in modules/crm_core_match/crm_core_match.routing.yml
modules/crm_core_match/crm_core_match.routing.yml

File

modules/crm_core_match/src/Controller/MatcherController.php, line 22

Class

MatcherController
Class MatcherController.

Namespace

Drupal\crm_core_match\Controller

Code

public function editTitle(MatcherConfigInterface $crm_core_match) {
  return $this
    ->t('Edit %matcher matcher', [
    '%matcher' => $crm_core_match
      ->label(),
  ]);
}