Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SyntaxErrorException.php

function SyntaxErrorException::stringAsFunctionArgument

1 call to SyntaxErrorException::stringAsFunctionArgument()
Parser::parseSeries in vendor/symfony/css-selector/Parser/Parser.php
Parses the arguments for ":nth-child()" and friends.

File

vendor/symfony/css-selector/Exception/SyntaxErrorException.php, line 51

Class

SyntaxErrorException
ParseException is thrown when a CSS selector syntax is not valid.

Namespace

Symfony\Component\CssSelector\Exception

Code

public static function stringAsFunctionArgument() : self {
    return new self('String not allowed as function argument.');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal