You are here

function _wysiwyg_ckeditor_settings_acf_is_obj in Wysiwyg 7.2

Same name and namespace in other branches
  1. 6.2 editors/ckeditor.inc \_wysiwyg_ckeditor_settings_acf_is_obj()

Determine if string is supposed to be ACF obj format.

See also

http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules

2 calls to _wysiwyg_ckeditor_settings_acf_is_obj()
wysiwyg_ckeditor_settings in editors/ckeditor.inc
Return runtime editor settings for a given wysiwyg profile.
wysiwyg_ckeditor_settings_form_validate_allowed_content in editors/ckeditor.inc
#element_validate handler for ACF Allowed Content element altered by wysiwyg_ckeditor_settings_form().

File

editors/ckeditor.inc, line 902
Editor integration functions for CKEditor.

Code

function _wysiwyg_ckeditor_settings_acf_is_obj($string) {
  if (strstr($string, ':') === FALSE) {
    return FALSE;
  }
  return TRUE;
}