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

Breadcrumb

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

function AnyValueToken::scoreArgument

Always scores 3 for any argument.

Parameters

mixed $argument:

Return value

int

Overrides TokenInterface::scoreArgument

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValueToken.php, line 28

Class

AnyValueToken
Any single value token.

Namespace

Prophecy\Argument\Token

Code

public function scoreArgument($argument) {
    return 3;
}

API Navigation

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