You are here

public function EnvironmentIndicator::setMachine in Environment Indicator 8.3

Same name and namespace in other branches
  1. 4.x src/Entity/EnvironmentIndicator.php \Drupal\environment_indicator\Entity\EnvironmentIndicator::setMachine()

Gets the machine name.

Parameters

string $machine: The machine-readable ID for the configurable.

File

src/Entity/EnvironmentIndicator.php, line 126

Class

EnvironmentIndicator
Defines a Environment configuration entity.

Namespace

Drupal\environment_indicator\Entity

Code

public function setMachine($machine) {
  $this
    ->set('machine', $machine);
}