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
Property | Description |
---|---|
fieldLayoutId | integer (opens new window), null (opens new window) – Field layout ID |
handle | string (opens new window), null (opens new window) – Handle |
hasUrls | boolean (opens new window), null (opens new window) – Whether the volume has a public URL |
name | string (opens new window), null (opens new window) – Name |
sortOrder | integer (opens new window), null (opens new window) – Sort order |
titleTranslationKeyFormat | string (opens new window), null (opens new window) – Title translation key format |
titleTranslationMethod | string (opens new window) – Title translation method |
uid | string (opens new window), null (opens new window) – UID |
url | string (opens new window), null (opens new window) – The volume’s URL |
# 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