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
Public Properties ​
| Property | Description |
|---|---|
| fieldLayoutId | integer, null – Field layout ID |
| handle | string, null – Handle |
| hasUrls | boolean, null – Whether the volume has a public URL |
| name | string, null – Name |
| sortOrder | integer, null – Sort order |
| titleTranslationKeyFormat | string, null – Title translation key format |
| titleTranslationMethod | string – Title translation method |
| uid | string, null – UID |
| url | string, null – The volume’s URL |
fieldLayoutId ​
Field layout ID
handle ​
Handle
hasUrls ​
Whether the volume has a public URL
name ​
Name
sortOrder ​
Sort order
titleTranslationKeyFormat ​
Title translation key format
titleTranslationMethod ​
- Type
- string
- Default value
\craft\base\Field::TRANSLATION_METHOD_SITE- Since
- 3.6.0
Title translation method
uid ​
UID
url ​
The volume’s URL