You are here

public function InstallableRequirement::isTyped in Markdown 8.2

Indicates whether the plugin has a typed identifier.

Return value

bool TRUE or FALSE

4 calls to InstallableRequirement::isTyped()
InstallableRequirement::getObject in src/Annotation/InstallableRequirement.php
Retrieves the object defined by id/type.
InstallableRequirement::getType in src/Annotation/InstallableRequirement.php
Retrieves the identifier type, if any.
InstallableRequirement::getTypeId in src/Annotation/InstallableRequirement.php
Retrieves the typed identifier, if any.
InstallableRequirement::listTypeId in src/Annotation/InstallableRequirement.php
Retrieves the split typed identifier.

File

src/Annotation/InstallableRequirement.php, line 186

Class

InstallableRequirement
Markdown Requirement Annotation.

Namespace

Drupal\markdown\Annotation

Code

public function isTyped() {
  return $this->id && strpos($this->id, ':') !== FALSE;
}