Carbon_Fields\Field\Gravity_Form_Field::to_json PHP Метод

to_json() публичный Метод

This data will be available in the Underscore template and the Backbone Model.
public to_json ( boolean $load ) : array
$load boolean Should the value be loaded from the database or use the value from the current instance.
Результат array
    public function to_json($load)
    {
        $field_data = parent::to_json($load);
        $this->set_options(apply_filters('crb_gravity_form_options', $this->options));
        $field_data = array_merge($field_data, array('options' => $this->parse_options($this->options)));
        return $field_data;
    }