You are here

protected function PathautoState::getCollection in Pathauto 8

Returns the key value collection that should be used for the given entity.

Return value

string

File

src/PathautoState.php, line 121

Class

PathautoState
A property that stores in keyvalue whether an entity should receive an alias.

Namespace

Drupal\pathauto

Code

protected function getCollection() {
  return 'pathauto_state.' . $this->parent
    ->getEntity()
    ->getEntityTypeId();
}