PodsAPI::get_field_definition PHP Method

get_field_definition() private method

Gets the schema definition of a field.
Since: 2.0
private get_field_definition ( string $type, array $options = null ) : array | boolean | mixed | null
$type string Field type to look for
$options array (optional) Options of the field to pass to the schema function.
return array | boolean | mixed | null
    private function get_field_definition($type, $options = null)
    {
        $definition = PodsForm::field_method($type, 'schema', $options);
        return $this->do_hook('field_definition', $definition, $type, $options);
    }