You are here

public function FocalPointManagerInterface::validateFocalPoint in Focal Point 8

Validates focal point string representation.

Parameters

string $focal_point: Focal point as submitted in the form. For example: 23,64 is valid while 123,942 and foo,bar are not.

Return value

bool TRUE if valid and FALSE if not.

1 method overrides FocalPointManagerInterface::validateFocalPoint()
FocalPointManager::validateFocalPoint in src/FocalPointManager.php
Validates focal point string representation.

File

src/FocalPointManagerInterface.php, line 23

Class

FocalPointManagerInterface
Defines an interface for focal point manager.

Namespace

Drupal\focal_point

Code

public function validateFocalPoint($focal_point);