You are here

class LogType in farmOS 2.x

Defines the log type plugin annotation object.

Plugin namespace: Plugin\Log\LogType.

Hierarchy

Expanded class hierarchy of LogType

See also

Plugin API

15 classes are annotated with LogType
Activity in modules/log/activity/src/Plugin/Log/LogType/Activity.php
Provides the activity log type.
Birth in modules/log/birth/src/Plugin/Log/LogType/Birth.php
Provides the birth log type.
Harvest in modules/log/harvest/src/Plugin/Log/LogType/Harvest.php
Provides the harvest log type.
Input in modules/log/input/src/Plugin/Log/LogType/Input.php
Provides the input log type.
LabTest in modules/log/lab_test/src/Plugin/Log/LogType/LabTest.php
Provides the lab test log type.

... See full list

File

modules/core/entity/src/Annotation/LogType.php, line 16

Namespace

Drupal\farm_entity\Annotation
View source
class LogType extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The log type label.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

}

Members

Namesort descending Modifiers Type Description Overrides
LogType::$id public property The plugin ID.
LogType::$label public property The log type label.
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 1
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