Commit d582e4ff authored by Rolando Payán Mosqueda's avatar Rolando Payán Mosqueda Committed by renatog
Browse files

Issue #3301667 by victorml, rpayanm, RenatoG, joshuautley, lucasbaralm,...

Issue #3301667 by victorml, rpayanm, RenatoG, joshuautley, lucasbaralm, Anybody: Call to undefined function Drupal\block_class\Service\str_contains()
parent 93678500
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Service/BlockClassHelperService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -998,7 +998,7 @@ class BlockClassHelperService {
      foreach ($third_party_settings['block_class'] as $key => $third_party_setting) {

        // If there is a classes_ we can remove.
        if (strpos($key, 'classes_') != FALSE) {
        if (strpos($key, 'classes_') !== FALSE) {
          unset($third_party_settings['block_class'][$key]);
        }