You are here

protected function DomainPathautoGenerator::getDomainPathPathautoStateCollection in Domain Path 8

Returns the key value collection for the given entity/domain combination.

Parameters

\Drupal\Core\Entity\EntityInterface $entity:

string $domain_id:

Return value

string

3 calls to DomainPathautoGenerator::getDomainPathPathautoStateCollection()
DomainPathautoGenerator::deleteDomainPathPathautoState in modules/domain_path_pathauto/src/DomainPathautoGenerator.php
Deletes the stored state.
DomainPathautoGenerator::domainPathPathautoGenerationIsEnabled in modules/domain_path_pathauto/src/DomainPathautoGenerator.php
Check if "Generate URL alias" is enabled for entity/domain combination.
DomainPathautoGenerator::setDomainPathPathautoState in modules/domain_path_pathauto/src/DomainPathautoGenerator.php
Set the stored state.

File

modules/domain_path_pathauto/src/DomainPathautoGenerator.php, line 180

Class

DomainPathautoGenerator
Provides methods for generating domain path aliases.

Namespace

Drupal\domain_path_pathauto

Code

protected function getDomainPathPathautoStateCollection(EntityInterface $entity, $domain_id) {
  return 'domain_path_pathauto_state.' . $domain_id . '.' . $entity
    ->getEntityTypeId();
}