interface AliasTypeBatchUpdateInterface in Pathauto 8
Alias types that support batch updates and deletions.
Hierarchy
- interface \Drupal\Core\Plugin\ContextAwarePluginInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\pathauto\AliasTypeInterface
- interface \Drupal\pathauto\AliasTypeBatchUpdateInterface
- interface \Drupal\pathauto\AliasTypeInterface
Expanded class hierarchy of AliasTypeBatchUpdateInterface
All classes that implement AliasTypeBatchUpdateInterface
3 files declare their use of AliasTypeBatchUpdateInterface
- EntityAliasTypeBase.php in src/
Plugin/ pathauto/ AliasType/ EntityAliasTypeBase.php - PathautoBulkUpdateForm.php in src/
Form/ PathautoBulkUpdateForm.php - PathautoCommands.php in src/
Commands/ PathautoCommands.php
File
- src/
AliasTypeBatchUpdateInterface.php, line 8
Namespace
Drupal\pathautoView source
interface AliasTypeBatchUpdateInterface extends AliasTypeInterface {
/**
* Gets called to batch update all entries.
*
* @param string $action
* One of:
* - 'create' to generate a URL alias for paths having none.
* - 'update' to recreate the URL alias for paths already having one, useful
* if the pattern changed.
* - 'all' to do both actions above at the same time.
* @param array $context
* Batch context.
*/
public function batchUpdate($action, &$context);
/**
* Gets called to batch delete all aliases created by pathauto.
*
* @param array $context
* Batch context.
*/
public function batchDelete(&$context);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AliasTypeBatchUpdateInterface:: |
public | function | Gets called to batch delete all aliases created by pathauto. | 1 |
AliasTypeBatchUpdateInterface:: |
public | function | Gets called to batch update all entries. | 1 |
AliasTypeInterface:: |
public | function | Determines if this plugin type can apply a given object. | 1 |
AliasTypeInterface:: |
public | function | Get the label. | 1 |
AliasTypeInterface:: |
public | function | Returns the source prefix; used for bulk delete. | 1 |
AliasTypeInterface:: |
public | function | Get the token types. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function |
Gets a specific context definition of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function |
Gets the context definitions of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function | Gets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the values for all defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Set a context on this plugin. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Validates the set values for the defined contexts. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |