You are here

public function AssetData::__construct in Media: Acquia DAM 8

Constructs a new asset data service.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection to use.

File

src/AssetData.php, line 28

Class

AssetData
Acquia DAM Asset Data service implementation.

Namespace

Drupal\media_acquiadam

Code

public function __construct(Connection $connection) {
  $this->connection = $connection;
}