You are here

public function UtilityBase::getStatusName in SimpleAds 8

File

src/UtilityBase.php, line 22

Class

UtilityBase
Utility ads utility class.

Namespace

Drupal\simpleads

Code

public function getStatusName($status) {
  return !empty($this
    ->getStatuses()[$status]) ? $this
    ->getStatuses()[$status] : '';
}