This document is for a version of Craft CMS that is no longer supported. Please refer to the latest version →

AssetSourceModel objects represent your asset sources.

# Simple Output

Outputting an AssetSourceModel object without attaching a property or method will return the source’s name:

Source: {{ source }}

# Properties

AssetFolderModel objects have the following properties:

# id

The source’s ID.

# name

The name of the source.

# type

The type of source it is ('Local', 'S3', 'Rackspace', or 'GoogleCloud').