public function Asset::setId in Mini site 8
Set asset ID.
Parameters
int $id: The ID to set.
Overrides AssetInterface::setId
1 call to Asset::setId()
- Asset::save in src/
Asset.php - Save asset to the database.
File
- src/
Asset.php, line 360
Class
- Asset
- Class Asset.
Namespace
Drupal\minisiteCode
public function setId($id) {
$this->id = $id;
}