public function EROptionsBehavior::schema_alter in Bricks 7.5
Same name and namespace in other branches
- 7.4 plugins/behavior/EROptionsBehavior.class.php \EROptionsBehavior::schema_alter()
Alter the field schema.
Overrides EntityReference_BehaviorHandler_Abstract::schema_alter
See also
File
- plugins/
behavior/ EROptionsBehavior.class.php, line 5
Class
Code
public function schema_alter(&$schema, $field) {
$schema['columns']['options'] = array(
'type' => 'blob',
'size' => 'big',
'description' => 'Serialized data containing the target entity view options.',
);
}