You are here

public function FontDisplay::setSelectors in @font-your-face 8.3

Sets the Font selectors.

Parameters

string $selectors: The Font selectors.

Return value

\Drupal\fontyourface\FontDisplayInterface The called Font Style entity.

Overrides FontDisplayInterface::setSelectors

File

src/Entity/FontDisplay.php, line 161

Class

FontDisplay
Defines the Font display entity.

Namespace

Drupal\fontyourface\Entity

Code

public function setSelectors($selectors) {
  $this
    ->set('selectors', $selectors);
  return $this;
}