GV\Source
The \GV\Source class.
Contains the source for \GV\Field values.
For example, "gravityview" fields, like custom content, are sourced from the \GV\View and its \GV\Field configuration. While "gravityforms" fields are sourced from \GV\Entry instances.
Source: future/includes/class-gv-source.php:18
Details
- Kind:
class - Namespace:
GV
Properties
| Property | Type | Description |
|---|---|---|
$backend | string | The identifier of the backend used for this source. |
Methods
| Method | Description |
|---|---|
get_field() | Get a \GV\Field instance by ID. |
Method Reference
get_field()
public static function get_field( /** varargs */ )
Get a \GV\Field instance by ID.
Accepts a variable number of arguments, see implementations.
Returns
- \GV\Field |
null— A \GV\Field instance.
Source: future/includes/class-gv-source.php:49