You are here

public function InstallableRequirement::getTypeId in Markdown 8.2

Retrieves the typed identifier, if any.

Return value

string|void The typed identifier, if any.

File

src/Annotation/InstallableRequirement.php, line 174

Class

InstallableRequirement
Markdown Requirement Annotation.

Namespace

Drupal\markdown\Annotation

Code

public function getTypeId() {
  if ($this
    ->isTyped() && ($type = $this
    ->listTypeId()[1])) {
    return $type;
  }
}