You are here

public function AssetInterface::save in Mini site 8

Save asset to the database.

If internal $id is set, the asset will be updated, otherwise it will be created.

Return value

int|null ID of the created or updated asset. NULL if asset has not been saved to the database.

1 method overrides AssetInterface::save()
Asset::save in src/Asset.php
Save asset to the database.

File

src/AssetInterface.php, line 85

Class

AssetInterface
Interface AssetInterface.

Namespace

Drupal\minisite

Code

public function save();