You are here

function gridstack_config_schema_info_alter in GridStack 8.2

Same name and namespace in other branches
  1. 8 gridstack.module \gridstack_config_schema_info_alter()

Implements hook_config_schema_info_alter().

File

./gridstack.module, line 110
Provides GridStack integration to have multi-column grids with drag-and-drop.

Code

function gridstack_config_schema_info_alter(array &$definitions) {
  if (isset($definitions['gridstack_vanilla']) || isset($definitions['layout_plugin.settings']) || isset($definitions['core.entity_view_display.*.*.*.third_party.ds'])) {
    gridstack('hook')
      ->configSchemaInfoAlter($definitions);
  }
}