You are here

public function Redirect::getHash in Redirect 8

Gets the current redirect entity hash.

Return value

string The hash.

File

src/Entity/Redirect.php, line 256

Class

Redirect
The redirect entity class.

Namespace

Drupal\redirect\Entity

Code

public function getHash() {
  return $this
    ->get('hash')->value;
}