Property | Type | Description | |
---|---|---|---|
$properties | array | The field properties. | |
$type | string | The type of the input handling the value. | |
$view | Illuminate\View\Factory | A view instance. |
Method | Description | |
---|---|---|
__construct ( array $properties, Illuminate\View\Factory $view ) | FieldBuilder instance. | |
getFieldType ( ) : string | Method that return the field input type. |
Method | Description | |
---|---|---|
defaultCheckableValue ( ) | Define a default value as array for checkable fields. | |
fieldType ( ) | Method to override in the child class to define its input type property. | |
getAllowedMimeTypes ( ) : array | Return a simplified list of allowed mime types. | |
parseAttributes ( ) : array | Parse and prepare the field tag attributes. | |
parseFeatures ( ) : array | Parse and prepare field feature properties. | |
setLimit ( ) | Define the limit of media files or rows we can add. | |
setType ( ) | Set the type data of the media to insert. |
public __construct ( array $properties, Illuminate\View\Factory $view ) | ||
$properties | array | Field instance properties. |
$view | Illuminate\View\Factory |
protected defaultCheckableValue ( ) |
protected fieldType ( ) |
protected getAllowedMimeTypes ( ) : array | ||
return | array |
public getFieldType ( ) : string | ||
return | string |
protected parseAttributes ( ) : array | ||
return | array | The parsed attributes. |
protected parseFeatures ( ) : array | ||
return | array |
protected setLimit ( ) |
protected setType ( ) |
protected string $type | ||
return | string |