function PathAlias::label

Overrides ContentEntityBase::label

File

core/modules/path_alias/src/Entity/PathAlias.php, line 161

Class

PathAlias
Defines the path_alias entity class.

Namespace

Drupal\path_alias\Entity

Code

public function label() {
  return $this->getAlias();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.