You are here

function fasttoggle_node_get_field_value in Fasttoggle 7

Get the value of a field.

Parameters

array $options: The array of options.

string $group: The setting group.

string $instance: The setting instance.

object $object: The object from which the attribute should be returned.

Return value

mixed The value.

File

module/fasttoggle_node/fasttoggle_node.module, line 76

Code

function fasttoggle_node_get_field_value(array $options, $group, $instance, $object) {
  return $object->{$instance};
}