MDL-51948 core: Patch core areas for LTR forms
Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
fc7f69e7e8
commit
525ef9c8b4
+1
@@ -52,6 +52,7 @@ class cachestore_memcache_addinstance_form extends cachestore_addinstance_form {
|
||||
$form->setType('prefix', PARAM_TEXT); // We set to text but we have a rule to limit to alphanumext.
|
||||
$form->setDefault('prefix', 'mdl_');
|
||||
$form->addRule('prefix', get_string('prefixinvalid', 'cachestore_memcache'), 'regex', '#^[a-zA-Z0-9\-_]+$#');
|
||||
$form->setForceLtr('prefix');
|
||||
|
||||
$form->addElement('header', 'clusteredheader', get_string('clustered', 'cachestore_memcache'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user