
| Current Path : /var/www/html/strat/web/modules/contrib/pathauto/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/strat/web/modules/contrib/pathauto/src/AliasTypeInterface.php |
<?php
namespace Drupal\pathauto;
use Drupal\Component\Plugin\DerivativeInspectionInterface;
use Drupal\Core\Plugin\ContextAwarePluginInterface;
/**
* Provides an interface for pathauto alias types.
*/
interface AliasTypeInterface extends ContextAwarePluginInterface, DerivativeInspectionInterface {
/**
* Get the label.
*
* @return string
* The label.
*/
public function getLabel();
/**
* Get the token types.
*
* @return string[]
* The token types.
*/
public function getTokenTypes();
/**
* Returns the source prefix; used for bulk delete.
*
* @return string
* The source path prefix.
*/
public function getSourcePrefix();
/**
* Determines if this plugin type can apply a given object.
*
* @param object $object
* The object used to determine if this plugin can apply.
*
* @return bool
* Whether this plugin applies to the given object.
*/
public function applies($object);
}