Change breakpoints machine name formatting

Created on 16 June 2023, over 1 year ago
Updated 19 June 2023, over 1 year ago

Problem/Motivation

We have an additional process to filter breakpoint's machine names.

  // @file /src/Plugin/paragraphs/Behavior/GridstackContainer.php
  'active_breakpoint' => str_replace('.', '_', $active_breakpoint),

Proposed resolution

Using preg_replace() replace all special chars with underdash.

Note: check following lines
1) /src/Plugin/paragraphs/Behavior/GridstackContainer.php:351
2) /src/Plugin/paragraphs/Behavior/GridstackContainer.php:382

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Panchuk Volyn, Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024