Search for argument

  1. Search 7.x for argument
  2. Search 9.5.x for argument
  3. Search 10.3.x for argument
  4. Search 11.x for argument
  5. Other projects
Title Object type File name Summary
None::validateArgument function core/modules/views/src/Plugin/views/argument_validator/None.php Performs validation for a given argument.
NullArgument class core/modules/views/src/Plugin/views/argument/NullArgument.php Argument handler that ignores the argument.
NullArgument.php file core/modules/views/src/Plugin/views/argument/NullArgument.php
NullArgument::buildOptionsForm function core/modules/views/src/Plugin/views/argument/NullArgument.php Override buildOptionsForm() so that only the relevant options
are displayed to the user.
NullArgument::defaultActions function core/modules/views/src/Plugin/views/argument/NullArgument.php Override defaultActions() to remove actions that don't
make sense for a null argument.
NullArgument::defineOptions function core/modules/views/src/Plugin/views/argument/NullArgument.php Information about options for all kinds of purposes will be held here.
NullArgument::query function core/modules/views/src/Plugin/views/argument/NullArgument.php Override the behavior of query() to prevent the query
from being changed in any way.
NumericArgument class core/modules/views/src/Plugin/views/argument/NumericArgument.php Basic argument handler for arguments that are numeric. Incorporates
break_phrase.
NumericArgument.php file core/modules/views/src/Plugin/views/argument/NumericArgument.php
NumericArgument::$operator property core/modules/views/src/Plugin/views/argument/NumericArgument.php The operator used for the query: or|and.
NumericArgument::$value property core/modules/views/src/Plugin/views/argument/NumericArgument.php The actual value which is used for querying.
NumericArgument::buildOptionsForm function core/modules/views/src/Plugin/views/argument/NumericArgument.php Provide a form to edit options for this plugin.
NumericArgument::defineOptions function core/modules/views/src/Plugin/views/argument/NumericArgument.php Information about options for all kinds of purposes will be held here.
NumericArgument::getContextDefinition function core/modules/views/src/Plugin/views/argument/NumericArgument.php Returns a context definition for this argument.
NumericArgument::getSortName function core/modules/views/src/Plugin/views/argument/NumericArgument.php Return a description of how the argument would normally be sorted.
NumericArgument::query function core/modules/views/src/Plugin/views/argument/NumericArgument.php Set up the query for this argument.
NumericArgument::title function core/modules/views/src/Plugin/views/argument/NumericArgument.php Get the title this argument will assign the view, given the argument.
NumericArgument::titleQuery function core/modules/views/src/Plugin/views/argument/NumericArgument.php Override for specific title lookups.
NumericArgumentValidator class core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Validate whether an argument is numeric or not.
NumericArgumentValidator.php file core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
NumericArgumentValidator::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Returns a context definition for this argument.
NumericArgumentValidator::validateArgument function core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php Performs validation for a given argument.
OperationBase::arguments function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php Returns the definition of the operation arguments.
OptionsListArgumentTest class core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Tests options list argument for views.
OptionsListArgumentTest.php file core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php
OptionsListArgumentTest::$testViews property core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Views used by this test.
OptionsListArgumentTest::testViewsTestOptionsListArgument function core/modules/options/tests/src/Kernel/Views/OptionsListArgumentTest.php Tests the options field argument.
Page::getArgumentText function core/modules/views/src/Plugin/views/display/Page.php Provides help text for the arguments.
PathPluginBaseTest::testCollectRoutesWithArguments function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments.
PathPluginBaseTest::testCollectRoutesWithArgumentsNotSpecifiedInPath function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments not specified in the path.
plugin.manager.views.argument service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.argument_default service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.argument_validator service core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
QueryConditionTrait::arguments function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryParameter::getArgument function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php Return the default argument.
QueryParameterTest::providerGetArgument function core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php Provides data for testGetArgument().
QueryParameterTest::testGetArgument function core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php Test the getArgument() method.
QueryTest::testArrayArgumentsSQLInjection function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests SQL injection via database query array arguments.
QueryTest::testConditionOperatorArgumentsSQLInjection function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests SQL injection via condition operator.
Raw::getArgument function core/modules/views/src/Plugin/views/argument_default/Raw.php Return the default argument.
RawTest::testGetArgument function core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php Test the getArgument() method.
ReflectionFactory::getInstanceArguments function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php Inspects the plugin class and build a list of arguments for the constructor.
ReflectionFactoryTest::providerGetInstanceArguments function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Data provider for testGetInstanceArguments.
ReflectionFactoryTest::testGetInstanceArguments function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @covers ::getInstanceArguments
@dataProvider providerGetInstanceArguments
RendererPlaceholdersTest::testInvalidLazyBuilderArguments function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Create an element with a child and subchild. Each element has the same
#lazy_builder callback, but with different contexts. They don't modify
markup, only attach additional drupalSettings.
RendererTest::testRenderWithoutThemeArguments function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RendererTest::testRenderWithThemeArguments function core/tests/Drupal/Tests/Core/Render/RendererTest.php @covers ::render
@covers ::doRender
RequestHandler::createArgumentResolver function core/modules/rest/src/RequestHandler.php Creates an argument resolver, containing all REST parameters.
Resize::arguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Returns the definition of the operation arguments.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.