function LocaleTranslatableProject::setStatus

Sets the project status.

Parameters

bool $status: A flag indicating whether the project is enabled.

Return value

$this

File

core/modules/locale/src/LocaleTranslatableProject.php, line 64

Class

LocaleTranslatableProject
Translatable project for interface translation.

Namespace

Drupal\locale

Code

public function setStatus(bool $status) : static {
  $this->status = $status;
  return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.