You are here

public function OpignoActivityType::getImageId in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Entity/OpignoActivityType.php \Drupal\opigno_module\Entity\OpignoActivityType::getImageId()

Gets the Activity type image id.

Return value

string Activity type image id.

Overrides OpignoActivityTypeInterface::getImageId

File

src/Entity/OpignoActivityType.php, line 119

Class

OpignoActivityType
Defines the Activity type entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getImageId() {
  if (isset($this->image[0])) {
    return $this->image[0];
  }
}