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\minisiteCode
public function id() {
return isset($this->id) ? $this->id : NULL;
}