## Link Field

This will create a field that will allow the user to link to an external page or to an internal page

Property | Type | Description
-------- | ---- | -----------
name | string  | Must match the field name on the database (Mandatory)
label | string | It's the field display label the user will see (Mandatory)  
type | string | Defines what is the field type. For this field it is "link" (Mandatory) 
multiLanguage | boolean | If the field is multi language. Default is false
required | boolean | If the field is mandatory. Default false
maxLabel | int | The number of maximum characters the link label can have. If you leave empty no limit will be applied (not recommended)
objectTypes | array | An array with all the content types this field can link to.<br><br>`['news', 'page']`<br><br>The above example will allow this field to do internal links to news and page content types
placement | string | Where does the field appear in the form. Possible values are _main_ or _sidebar_. Default value is _main_
parent | array&#124;boolean | Indicates if the field is dependent on a "parent field" value. Default is false if it doesn't have a field <br><br>`["name" => "type","values" => ["value1","value2"]]`<br><br>With the example above this field would only show up when the "type" field had the "value1" or "value2" selected 
disabled | boolean | If it is true the field will be disabled for editing. Default false
info | string | Help text that shows up next to text form field 

The field on the database table should be a JSON field or in case it is not possible because of the Mysql Version a TEXT field.
Even if multilanguage is true, the value will be stored in a single field, so the field should be created on the main table and not in the language table.

In the Eloquent model you must cast this field to array. For example, let say the name of this field is "main_link", you do the cast be inserting the following on the eloquent model:

`protected $casts = ['main_link' => 'array'];`

