class FileMetadata in File metadata manager 8
Same name in this branch
- 8 src/FileMetadata.php \Drupal\file_mdm\FileMetadata
- 8 src/Plugin/Annotation/FileMetadata.php \Drupal\file_mdm\Plugin\Annotation\FileMetadata
Same name and namespace in other branches
- 8.2 src/Plugin/Annotation/FileMetadata.php \Drupal\file_mdm\Plugin\Annotation\FileMetadata
Defines a Plugin annotation object for FileMetadata plugins.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\file_mdm\Plugin\Annotation\FileMetadata
Expanded class hierarchy of FileMetadata
3 classes are annotated with FileMetadata
- Exif in file_mdm_exif/
src/ Plugin/ FileMetadata/ Exif.php - FileMetadata plugin for EXIF.
- Font in file_mdm_font/
src/ Plugin/ FileMetadata/ Font.php - FileMetadata plugin for TTF/OTF/WOFF font information.
- GetImageSize in src/
Plugin/ FileMetadata/ GetImageSize.php - FileMetadata plugin for getimagesize.
File
- src/
Plugin/ Annotation/ FileMetadata.php, line 12
Namespace
Drupal\file_mdm\Plugin\AnnotationView source
class FileMetadata extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The title of the plugin.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* An informative description of the plugin.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $help;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileMetadata:: |
public | property | An informative description of the plugin. | |
FileMetadata:: |
public | property | The plugin ID. | |
FileMetadata:: |
public | property | The title of the plugin. | |
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:: |
|
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 |