Commit 3f1741ac authored by sepgil's avatar sepgil Committed by fago

Issue #1788764 by sepgil: Make field text formats writable via the entity wrappers.

parent 93053d8c
......@@ -507,6 +507,8 @@ function entity_property_text_formatted_info() {
'label' => t('Text format'),
'options list' => 'entity_metadata_field_text_formats',
'getter callback' => 'entity_property_verbatim_get',
'setter callback' => 'entity_property_verbatim_set',
'setter permissions' => 'administer filters',
),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment