You are here

public function Asset::id in Mini site 8

Get asset id.

Return value

int|null Asset ID or NULL.

Overrides AssetInterface::id

File

src/Asset.php, line 353

Class

Asset
Class Asset.

Namespace

Drupal\minisite

Code

public function id() {
  return isset($this->id) ? $this->id : NULL;
}