public function BreakpointInterface::isValid

Checks if the breakpoint is valid.

Throws

\Drupal\breakpoint\InvalidBreakpointSourceTypeException

\Drupal\breakpoint\InvalidBreakpointSourceException

\Drupal\breakpoint\InvalidBreakpointNameException

\Drupal\breakpoint\InvalidBreakpointMediaQueryException

See also

isValidMediaQuery()

1 method overrides BreakpointInterface::isValid()
Breakpoint::isValid in drupal/core/modules/breakpoint/lib/Drupal/breakpoint/Plugin/Core/Entity/Breakpoint.php
Checks if the breakpoint is valid.

File

drupal/core/modules/breakpoint/lib/Drupal/breakpoint/BreakpointInterface.php, line 27
Contains \Drupal\breakpoint\Plugin\Core\Entity\BreakpointInterface.

Class

BreakpointInterface
Provides an interface defining a breakpoint entity.

Namespace

Drupal\breakpoint

Code

public function isValid();