You are here

public function MimeMapManagerInterface::isMapClassValid in Sophron 8

Determines if a FQCN is a valid map class.

Map classes muste extend from FileEye\MimeMap\Map\AbstractMap.

Parameters

string $map_class: A FQCN.

Return value

bool TRUE if valid, FALSE otherwise.

1 method overrides MimeMapManagerInterface::isMapClassValid()
MimeMapManager::isMapClassValid in src/MimeMapManager.php
Determines if a FQCN is a valid map class.

File

src/MimeMapManagerInterface.php, line 36

Class

MimeMapManagerInterface
Provides an interface for FileMapManager.

Namespace

Drupal\sophron

Code

public function isMapClassValid($map_class);