class LogType in farmOS 2.x
Defines the log type plugin annotation object.
Plugin namespace: Plugin\Log\LogType.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\farm_entity\Annotation\LogType
Expanded class hierarchy of LogType
See also
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.
File
- modules/
core/ entity/ src/ Annotation/ LogType.php, line 16
Namespace
Drupal\farm_entity\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LogType:: |
public | property | The plugin ID. | |
LogType:: |
public | property | The log type label. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
1 |
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |