crm_core-8.x-3.x-dev/modules/crm_core_match/src/Controller/MatcherController.php
modules/crm_core_match/src/Controller/MatcherController.php
<?php
namespace Drupal\crm_core_match\Controller;
use Drupal\Core\Controller\ControllerBase;
use Drupal\crm_core_match\Matcher\MatcherConfigInterface;
/**
* Matcher Controller.
*/
class MatcherController extends ControllerBase {
/**
* Gets the edit matcher title.
*
* @param \Drupal\crm_core_match\Matcher\MatcherConfigInterface $crm_core_match
* The edited matcher.
*
* @return string
* The page title.
*/
public function editTitle(MatcherConfigInterface $crm_core_match) {
return $this->t('Edit %matcher matcher', [
'%matcher' => $crm_core_match->label(),
]);
}
}
