interface ExportInterface in Hook Update Deploy Tools 7
Same name and namespace in other branches
- 8 src/ExportInterface.php \HookUpdateDeployTools\ExportInterface
iExport is the interface for all Hook Update Deploy Tools that export items.
Primarilly all methods in iExport are run through Drush commands so any Exceptions being thrown should be \Exception.
Hierarchy
- interface \HookUpdateDeployTools\ExportInterface
Expanded class hierarchy of ExportInterface
All classes that implement ExportInterface
File
- src/
ExportInterface.php, line 11
Namespace
HookUpdateDeployToolsView source
interface ExportInterface {
/**
* Exports the exportable type to a text file.
*
* @param string $export_item
* The unique identifier of the thing to export,
* usually the machine name.
*
* @return string
* A string showing the full uri of the exported item, or a failure message.
*
* @throws \Exception if it fails.
*/
public static function export($export_item);
/**
* Verifies that that import can be used based on available module.
*
* @return bool
* TRUE If the import can be run.
*
* @throws \Exception if it can not be run.
*/
public static function canExport();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExportInterface:: |
public static | function | Verifies that that import can be used based on available module. | 4 |
ExportInterface:: |
public static | function | Exports the exportable type to a text file. | 4 |