3 namespace Drupal\pathauto;
5 use Drupal\Component\Plugin\DerivativeInspectionInterface;
6 use Drupal\Core\Plugin\ContextAwarePluginInterface;
9 * Provides an interface for pathauto alias types.
11 interface AliasTypeInterface extends ContextAwarePluginInterface, DerivativeInspectionInterface {
19 public function getLabel();
22 * Get the token types.
27 public function getTokenTypes();
30 * Returns the source prefix; used for bulk delete.
33 * The source path prefix.
35 public function getSourcePrefix();
38 * Determines if this plugin type can apply a given object.
40 * @param object $object
41 * The object used to determine if this plugin can apply.
44 * Whether this plugin applies to the given object.
46 public function applies($object);