Merge pull request #5356 from assertchris/forms-toggle-composite-field-comment-changes

Changed comments in forms\ToggleCompositeField.php
This commit is contained in:
Damian Mooyman 2016-04-20 18:01:31 +12:00
commit 61db5c8f76

View File

@ -18,6 +18,8 @@ class ToggleCompositeField extends CompositeField {
protected $headingLevel = 3;
/**
* @inheritdoc
*
* @param string $name
* @param string $title
* @param array|FieldList $children
@ -30,9 +32,11 @@ class ToggleCompositeField extends CompositeField {
}
/**
* @inheritdoc
*
* @param array $properties
*
* @return HTMLText
* @return string|HTMLText
*/
public function FieldHolder($properties = array()) {
Requirements::javascript(FRAMEWORK_DIR . '/thirdparty/jquery/jquery.js');
@ -52,7 +56,9 @@ class ToggleCompositeField extends CompositeField {
}
/**
* {@inheritdoc}
* @inheritdoc
*
* @return array
*/
public function getAttributes() {
$attributes = array(