You are here

public function PathFileEntity::getName in Path File 8

Gets the Path file entity name.

Return value

string Name of the Path file entity.

Overrides PathFileEntityInterface::getName

File

src/Entity/PathFileEntity.php, line 72

Class

PathFileEntity
Defines the Path file entity entity.

Namespace

Drupal\path_file\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}