interface MigrateTemplateStorageInterface in Migrate Manifest 8.2
Same name and namespace in other branches
- 8 src/MigrateTemplateStorageInterface.php \Drupal\migrate_manifest\MigrateTemplateStorageInterface
- 3.x src/MigrateTemplateStorageInterface.php \Drupal\migrate_manifest\MigrateTemplateStorageInterface
The MigrateTemplateStorageInterface interface.
Direct copy of the template storage interface removed from core.
Hierarchy
- interface \Drupal\migrate_manifest\MigrateTemplateStorageInterface
Expanded class hierarchy of MigrateTemplateStorageInterface
All classes that implement MigrateTemplateStorageInterface
See also
https://www.drupal.org/node/2676258
File
- src/
MigrateTemplateStorageInterface.php, line 11
Namespace
Drupal\migrate_manifestView source
interface MigrateTemplateStorageInterface {
/**
* Find all migration templates with the specified tag.
*
* @param string $tag
* The tag to match.
*
* @return array
* Any templates (parsed YAML config) that matched, keyed by the ID.
*/
public function findTemplatesByTag($tag);
/**
* Retrieve a template given a specific name.
*
* @param string $name
* A migration template name.
*
* @return null|array
* A parsed migration template, or NULL if it doesn't exist.
*/
public function getTemplateByName($name);
/**
* Retrieves all migration templates belonging to enabled extensions.
*
* @return array
* Array of parsed templates, keyed by the fully-qualified id.
*/
public function getAllTemplates();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateTemplateStorageInterface:: |
public | function | Find all migration templates with the specified tag. | 1 |
MigrateTemplateStorageInterface:: |
public | function | Retrieves all migration templates belonging to enabled extensions. | 1 |
MigrateTemplateStorageInterface:: |
public | function | Retrieve a template given a specific name. | 1 |