Last active
December 12, 2015 01:29
-
-
Save andypost/4691730 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_field_widget_info_alter(). | |
* | |
* @todo convert this to a WidgetPlugin annotation. | |
*/ | |
function comment_field_widget_info_alter(&$info) { | |
$info['comment_default']['behaviors'] = array( | |
'multiple values' => FIELD_BEHAVIOR_CUSTOM, | |
'default value' => FIELD_BEHAVIOR_NONE, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment