You are here

public function EnvironmentIndicator::setUrl in Environment Indicator 4.x

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

Sets the URL.

Parameters

string $url: The environment url.

File

src/Entity/EnvironmentIndicator.php, line 154

Class

EnvironmentIndicator
Defines a Environment configuration entity.

Namespace

Drupal\environment_indicator\Entity

Code

public function setUrl($url) {
  $this
    ->set('url', $url);
}