public function PathautoGeneratorInterface::getPatternByEntity in Pathauto 8
Load an alias pattern entity by entity, bundle, and language.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: An entity.
Return value
\Drupal\pathauto\PathautoPatternInterface|null
1 method overrides PathautoGeneratorInterface::getPatternByEntity()
- PathautoGenerator::getPatternByEntity in src/
PathautoGenerator.php - Load an alias pattern entity by entity, bundle, and language.
File
- src/
PathautoGeneratorInterface.php, line 55
Class
- PathautoGeneratorInterface
- Provides and interface for PathautoGenerator.
Namespace
Drupal\pathautoCode
public function getPatternByEntity(EntityInterface $entity);