Function Hook_commandr_command_fs_search->find_fields_of
Definitions
sources/hooks/systems/commandr_commands/fs_search.php
- Find fields of a particular field type.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $field_type | string | No | No | required parameter | N/A | N/A | Field type |
Returns
- List of fields
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find fields of a particular field type.
*
* @param string $field_type Field type
* @return array List of fields
*/
protected function find_fields_of(string $field_type) : array
* Find fields of a particular field type.
*
* @param string $field_type Field type
* @return array List of fields
*/
protected function find_fields_of(string $field_type) : array

