You are here

public function BlockServiceInterface::sanitizeIdOld in Opigno dashboard 3.x

Sanitizes ID string for legacy blocks.

Parameters

string $id: The block ID to be sanitized.

Return value

string The sanitized block ID.

1 method overrides BlockServiceInterface::sanitizeIdOld()
BlockService::sanitizeIdOld in src/BlockService.php
Sanitizes ID string for legacy blocks.

File

src/BlockServiceInterface.php, line 59

Class

BlockServiceInterface
The Opigno dashboard block service definition.

Namespace

Drupal\opigno_dashboard

Code

public function sanitizeIdOld(string $id) : string;