- 🇮🇹Italy apaderno Brescia, 🇮🇹
+/** + * Implements draggable_blocks_control(). + */ function _draggable_blocks_control() {
That is not a hook implementation. That means the documentation comment must be different.
/** - * hook_page_attachments_alter() + * Hook_page_attachments_alter() */ function draggable_blocks_page_attachments_alter(array &$page) {
That is not how a hook implementation is documented.
/** - * template_preprocess_theme() + * Template_preprocess_theme() */ function template_preprocess_draggable_blocks(array &$variables) {
That is not the correct documentation comment either.
- // ToDo reemplazar la función de arriba -// $variables['#attached']['library'][] = 'core/modernizr'; + // @todo reemplazar la función de arriba
What follow
@todo
must be an English sentence.-function _draggable_blocks_enable_block ($definition, $weight, $region, $theme) { +/** + * Implements draggable_blocks_enable_block(). + */ +function _draggable_blocks_enable_block($definition, $weight, $region, $theme) {
That is not a hook implementation. The documentation comment must document the parameters and the return value.
- * @var string optional + * @var stringoptional
stringoptional
is not a PHP type.- * - * @deprecated - * Use \Drupal\draggable_blocks\Plugin\Draggable\DraggablePluginManagerInterface::getLayoutOptions().
Basing on what is
@deprecated
removed?+/** + * Admin form for the module. + */ class AdminForm extends FormBase {
That short description is too generic.
- First commit to issue fork.