You are here

MatcherController.php in CRM Core 8.3

File

modules/crm_core_match/src/Controller/MatcherController.php
View source
<?php

namespace Drupal\crm_core_match\Controller;

use Drupal\Core\Controller\ControllerBase;
use Drupal\crm_core_match\Matcher\MatcherConfigInterface;

/**
 * Class MatcherController.
 */
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(),
    ]);
  }

}

Classes

Namesort descending Description
MatcherController Class MatcherController.