You are here

public function FeaturesManagerInterface::stateLabel in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesManagerInterface.php \Drupal\features\FeaturesManagerInterface::stateLabel()

Helper function that returns a translatable label for the different state constants.

Parameters

int $state: A state constant.

Return value

string A translatable label.

1 method overrides FeaturesManagerInterface::stateLabel()
FeaturesManager::stateLabel in src/FeaturesManager.php
Helper function that returns a translatable label for the different state constants.

File

src/FeaturesManagerInterface.php, line 624

Class

FeaturesManagerInterface
Provides an interface for the FeaturesManager.

Namespace

Drupal\features

Code

public function stateLabel($state);