Keyword Field Type: old version (page id 32870046)
This Field Type represents keywords.
| Name | Internal name | Expected input |
|---|---|---|
| Keyword | ezkeyword | string[]|string |
Description
This Field Type stores one or several comma-separated keywords as a string or array of strings.
Input expectations
| Type | Example |
|---|---|
string |
"documentation" |
| string | "php, Exponential, html5" |
| string[] | array( "eZ Systems", "Enterprise", "User Experience Management" ) |
Value object
Properties
The Value class of this Field Type contains the following properties:
| Property | Type | Description |
|---|---|---|
| $value | string[] | Holds an array of keywords as strings. |
Value object content example
Constructor
The Keyword\Value constructor will initialize a new Value object with the value provided.
It expects a list of keywords, either comma-separated in a string or as an array of strings.
Constructor example
Contributors
- Dominika Kurek Updated
Comments
Add a comment