You are here

class CrmCoreMatchEngine in CRM Core 8.3

Same name and namespace in other branches
  1. 8 modules/crm_core_match/src/Annotation/CrmCoreMatchEngine.php \Drupal\crm_core_match\Annotation\CrmCoreMatchEngine
  2. 8.2 modules/crm_core_match/src/Annotation/CrmCoreMatchEngine.php \Drupal\crm_core_match\Annotation\CrmCoreMatchEngine

Defines a Plugin annotation object for match field plugins.

Hierarchy

Expanded class hierarchy of CrmCoreMatchEngine

1 string reference to 'CrmCoreMatchEngine'
crm_core_match.services.yml in modules/crm_core_match/crm_core_match.services.yml
modules/crm_core_match/crm_core_match.services.yml
1 class is annotated with CrmCoreMatchEngine
DefaultMatchingEngine in modules/crm_core_match/src/Plugin/crm_core_match/engine/DefaultMatchingEngine.php
DefaultMatchingEngine class.

File

modules/crm_core_match/src/Annotation/CrmCoreMatchEngine.php, line 12

Namespace

Drupal\crm_core_match\Annotation
View source
class CrmCoreMatchEngine extends Plugin {

  /**
   * The engine ID.
   *
   * @var string
   */
  protected $id;

  /**
   * The engines label.
   *
   * @var \Drupal\Core\StringTranslation\TranslationWrapper
   *
   * @ingroup plugin_translatable
   */
  protected $label;

  /**
   * The match engine summary.
   *
   * @var \Drupal\Core\StringTranslation\TranslationWrapper
   */
  protected $summary;

}

Members

Namesort descending Modifiers Type Description Overrides
CrmCoreMatchEngine::$id protected property The engine ID.
CrmCoreMatchEngine::$label protected property The engines label.
CrmCoreMatchEngine::$summary protected property The match engine summary.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2