You are here

function gridstack_config_schema_info_alter in GridStack 8

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

Implements hook_config_schema_info_alter().

File

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

Code

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