You are here

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

Sanitizes ID string.

Parameters

string $id: The block ID to be sanitized.

Return value

string The sanitized block ID.

1 method overrides BlockServiceInterface::sanitizeId()
BlockService::sanitizeId in src/BlockService.php
Sanitizes ID string.

File

src/BlockServiceInterface.php, line 48

Class

BlockServiceInterface
The Opigno dashboard block service definition.

Namespace

Drupal\opigno_dashboard

Code

public function sanitizeId(string $id) : string;