Skip to content

Commit

Permalink
Replace checkbox with boolean_checkbox (#3795)
Browse files Browse the repository at this point in the history
  • Loading branch information
LOBsTerr authored and jmolivas committed Feb 21, 2018
1 parent 31f333c commit db9fa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/module/src/Entity/entity-content.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class {{ entity_class }} extends {% if revisionable %}RevisionableContentEntityB
{% endif %}
->setDefaultValue(TRUE)
->setDisplayOptions('form', [
'type' => 'checkbox',
'type' => 'boolean_checkbox',
'weight' => -3,
]);

Expand Down

0 comments on commit db9fa88

Please sign in to comment.