|
@@ -190,6 +190,7 @@ abstract class BaseFieldDescription implements FieldDescriptionInterface
|
|
|
* Define the options value, if the options array contains the reserved keywords
|
|
|
* - type
|
|
|
* - template
|
|
|
+ * - help
|
|
|
*
|
|
|
* Then the value are copied across to the related property value
|
|
|
*
|
|
@@ -210,6 +211,12 @@ abstract class BaseFieldDescription implements FieldDescriptionInterface
|
|
|
unset($options['template']);
|
|
|
}
|
|
|
|
|
|
+ // set help if provided
|
|
|
+ if (isset($options['help'])) {
|
|
|
+ $this->setHelp($options['help']);
|
|
|
+ unset($options['help']);
|
|
|
+ }
|
|
|
+
|
|
|
$this->options = $options;
|
|
|
}
|
|
|
|
|
@@ -475,4 +482,4 @@ abstract class BaseFieldDescription implements FieldDescriptionInterface
|
|
|
{
|
|
|
return $this->getOption('label');
|
|
|
}
|
|
|
-}
|
|
|
+}
|