MarkdownField
class MarkdownField extends Field implements Excerptable, FieldInterface (View source)
Traits
TranslatableTrait
Constants
TYPE |
|
Properties
$name | from Field |
Methods
string
__toString()
No description
array|mixed|null
getParsedValue()
like getValue() but returns single value for single value fields
bool
isContentSelect()
Used in SelectField, to distinguish between selects for "a list of items" and "select from a list of Content"
from
Field
static string
getTranslationEntityClass()
Used in TranslatableInterface, to locate the translation entity Bolt\Entity\FieldTranslation
from
Field
Details
string
__toString()
in
Field at line 88
__call(string $key = '', array $arguments = [])
in
Field at line 103
int|null
getId()
in
Field at line 111
FieldType
getDefinition()
in
Field at line 130
void
setDefinition($name, Collection $definition)
in
Field at line 135
string
getName()
in
Field at line 140
Field
setName(string $name)
in
Field at line 147
get($key)
in
Field at line 166
getApiValue()
in
Field at line 184
array|null
getValue()
in
Field at line 196
getDefaultValue()
Returns the default value option
in
Field at line 201
bool
isNew()
array|mixed|null
getParsedValue()
like getValue() but returns single value for single value fields
in
Field at line 229
string|array|Markup
getTwigValue()
in
Field at line 263
Field
set(string $key, $value)
in
Field at line 270
Field
setValue($value)
in
Field at line 278
int|null
getSortorder()
in
Field at line 283
Field
setSortorder(int $sortorder)
in
Field at line 290
Field
setLocale(string|null $locale)
in
Field at line 297
string|null
getLocale()
in
Field at line 302
int|null
getVersion()
in
Field at line 307
Field
setVersion(int|null $version)
in
Field at line 314
Content|null
getContent()
in
Field at line 319
Field
setContent(Content|null $content)
in
Field at line 326
bool
hasParent()
in
Field at line 331
Field|null
getParent()
in
Field at line 336
Field
setParent(Field|null $parent)
in
Field at line 343
Field
setLabel(string $label)
in
Field at line 353
string
getType()
in
Field at line 362
bool
isContentSelect()
Used in SelectField, to distinguish between selects for "a list of items" and "select from a list of Content"
in
Field at line 370
static string
getTranslationEntityClass()
Used in TranslatableInterface, to locate the translation entity Bolt\Entity\FieldTranslation