Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PathAlias.php

function PathAlias::getPath

Overrides PathAliasInterface::getPath

1 call to PathAlias::getPath()
PathAlias::postSave in core/modules/path_alias/src/Entity/PathAlias.php
Acts on a saved entity before the insert or update hook is invoked.

File

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

Class

PathAlias
Defines the path_alias entity class.

Namespace

Drupal\path_alias\Entity

Code

public function getPath() {
    return $this->get('path')->value;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal