You are here

public function IdAccessorTrait::getId in Libraries API 8.3

Returns the ID.

Return value

string The ID.

See also

\Drupal\libraries\ExternalLibrary\LibraryInterface::getId()

\Drupal\libraries\ExternalLibrary\LibraryType\LibraryTypeInterface::getId()

File

src/ExternalLibrary/Utility/IdAccessorTrait.php, line 26

Class

IdAccessorTrait
Provides a trait for classes that have a string identifier.

Namespace

Drupal\libraries\ExternalLibrary\Utility

Code

public function getId() {
  return $this->id;
}