You are here

public function Store::getName in Commerce Core 8.2

Gets the store name.

Return value

string The store name.

Overrides StoreInterface::getName

File

modules/store/src/Entity/Store.php, line 90

Class

Store
Defines the store entity class.

Namespace

Drupal\commerce_store\Entity

Code

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