You are here

public function DataStream::getName in farmOS 2.x

Gets the data stream name.

Return value

string The data stream name.

Overrides DataStreamInterface::getName

1 call to DataStream::getName()
DataStream::label in modules/core/data_stream/src/Entity/DataStream.php
Gets the label of the entity.

File

modules/core/data_stream/src/Entity/DataStream.php, line 92

Class

DataStream
Defines the Data Stream entity.

Namespace

Drupal\data_stream\Entity

Code

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