VolumeTrait

Type
Trait
Namespace
craft\base
Implemented by
craft\base\FlysystemVolume, craft\base\Volume, craft\volumes\Local, craft\volumes\MissingVolume, craft\volumes\Temp
Since
3.0.0

VolumeTrait

View source (opens new window)

# Public Properties

# fieldLayoutId

Type
integer (opens new window), null (opens new window)
Default value
null

Field layout ID

View source (opens new window)

# handle

Type
string (opens new window), null (opens new window)
Default value
null

Handle

View source (opens new window)

# hasUrls

Type
boolean (opens new window), null (opens new window)
Default value
null

Whether the volume has a public URL

View source (opens new window)

# name

Type
string (opens new window), null (opens new window)
Default value
null

Name

View source (opens new window)

# sortOrder

Type
integer (opens new window), null (opens new window)
Default value
null

Sort order

View source (opens new window)

# titleTranslationKeyFormat

Type
string (opens new window), null (opens new window)
Default value
null
Since
3.6.0

Title translation key format

View source (opens new window)

# titleTranslationMethod

Type
string (opens new window)
Default value
\craft\base\Field::TRANSLATION_METHOD_SITE
Since
3.6.0

Title translation method

View source (opens new window)

# uid

Type
string (opens new window), null (opens new window)
Default value
null

UID

View source (opens new window)

# url

Type
string (opens new window), null (opens new window)
Default value
null

The volume’s URL

View source (opens new window)