UserGroupBackendForm: Some small documentation fixes
This commit is contained in:
parent
cfd43f251e
commit
8c8198eeea
|
@ -32,9 +32,11 @@ class UserGroupBackendForm extends ConfigForm
|
||||||
/**
|
/**
|
||||||
* Return a form object for the given backend type
|
* Return a form object for the given backend type
|
||||||
*
|
*
|
||||||
* @param string $type The backend type for which to return a form
|
* @param string $type The backend type for which to return a form
|
||||||
*
|
*
|
||||||
* @return Form
|
* @return Form
|
||||||
|
*
|
||||||
|
* @throws InvalidArgumentException In case the given backend type is invalid
|
||||||
*/
|
*/
|
||||||
public function getBackendForm($type)
|
public function getBackendForm($type)
|
||||||
{
|
{
|
||||||
|
@ -74,6 +76,8 @@ class UserGroupBackendForm extends ConfigForm
|
||||||
/**
|
/**
|
||||||
* Add a new user group backend
|
* Add a new user group backend
|
||||||
*
|
*
|
||||||
|
* The backend to add is identified by the array-key `name'.
|
||||||
|
*
|
||||||
* @param array $data
|
* @param array $data
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
|
@ -171,7 +175,7 @@ class UserGroupBackendForm extends ConfigForm
|
||||||
'pattern' => '/^[^\\[\\]:]+$/',
|
'pattern' => '/^[^\\[\\]:]+$/',
|
||||||
'messages' => array(
|
'messages' => array(
|
||||||
'regexNotMatch' => $this->translate(
|
'regexNotMatch' => $this->translate(
|
||||||
'The backend name cannot contain \'[\', \']\' or \':\'.'
|
'The name cannot contain \'[\', \']\' or \':\'.'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue