'ltr' ]; if ( !$isUserAllowed ) { $editorAttribs['readonly'] = 'readonly'; } if ( $externalForm ) { $editorAttribs['form'] = 'wpFilterForm'; } return Xml::textarea( 'wpFilterRules', $rules, 40, 15, $editorAttribs ); } }