class FileEntityDealer in Media Migration 8
Defines FileEntityDealer annotation object.
Plugin Namespace: Plugin\media_migration\file_entity.
For a working example, see \Drupal\media_migration\Plugin\media_migration\file_entity\Image.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\media_migration\Annotation\FileEntityDealer
Expanded class hierarchy of FileEntityDealer
See also
\Drupal\media_migration\FileEntityDealerManager
\Drupal\media_migration\FileEntityDealerPluginInterface
\Drupal\media_migration\FileEntityDealerBase
1 file declares its use of FileEntityDealer
7 classes are annotated with FileEntityDealer
- Audio in src/
Plugin/ media_migration/ file_entity/ Audio.php - Audio media migration plugin for local audio media.
- Document in src/
Plugin/ media_migration/ file_entity/ Document.php - Document media migration plugin for local document media entities.
- Fallback in src/
Plugin/ media_migration/ file_entity/ Fallback.php - Fallback plugin for unknown (custom) file entity types.
- Image in src/
Plugin/ media_migration/ file_entity/ Image.php - Image media migration plugin for local image media entities.
- Video in src/
Plugin/ media_migration/ file_entity/ Video.php - Video media migration plugin for local video media entities.
File
- src/
Annotation/ FileEntityDealer.php, line 22
Namespace
Drupal\media_migration\AnnotationView source
class FileEntityDealer extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The file entity types the plugin applies to.
*
* @var string[]
*/
public $types;
/**
* The schemes the plugin applies to.
*
* Optional.
*
* @var string[]
*/
public $schemes = [];
/**
* The ID of the destination media type's source plugin.
*
* Optional.
*
* @var string
*/
public $destination_media_source_plugin_id = '';
/**
* The ID of the destination media type's base ID.
*
* Optional.
*
* @var string
*/
public $destination_media_type_id_base = '';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileEntityDealer:: |
public | property | The ID of the destination media type's source plugin. | |
FileEntityDealer:: |
public | property | The ID of the destination media type's base ID. | |
FileEntityDealer:: |
public | property | The plugin ID. | |
FileEntityDealer:: |
public | property | The schemes the plugin applies to. | |
FileEntityDealer:: |
public | property | The file entity types the plugin applies to. | |
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 |