Commit d35c13a1 authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch Committed by Mateu Aguiló Bosch
Browse files

Issue #3300990 by e0ipso: Make the list of blocks configurable

parent a197a51f
Loading
Loading
Loading
Loading

cl_block.libraries.yml

0 → 100644
+4 −0
Original line number Diff line number Diff line
settings:
  css:
    component:
      src/assets/css/settings.css: { }
+6 −0
Original line number Diff line number Diff line
cl_block.registry_tab:
  title: Blocks
  description: Configure how blocks are generated from CL Components
  route_name: cl_block.settings
  base_route: cl_components.settings
  weight: 8

cl_block.routing.yml

0 → 100644
+7 −0
Original line number Diff line number Diff line
cl_block.settings:
  path: '/admin/config/user-interface/cl-components/block'
  defaults:
    _title: 'Block Settings'
    _form: 'Drupal\cl_block\Form\SettingsForm'
  requirements:
    _permission: 'administer site configuration'
+7 −0
Original line number Diff line number Diff line
types:
  - organism
statuses:
  - READY
  - BETA
forbidden: {  }
allowed: {  }
+26 −0
Original line number Diff line number Diff line
# Schema for the configuration files of the Component Libraries: Blocks module.
cl_block.settings:
  type: config_object
  label: 'Component Libraries: Blocks settings'
  mapping:
    types:
      type: sequence
      label: 'Types'
      sequence:
        type: string
    statuses:
      type: sequence
      label: 'Statuses'
      sequence:
        type: string
    forbidden:
      type: sequence
      label: 'Forbidden'
      sequence:
        type: string
    allowed:
      type: sequence
      label: 'Allowed'
      sequence:
        type: string
Loading