Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Random::buildOptionsForm function core/modules/views/src/Plugin/views/sort/Random.php Basic options for all sort criteria.
Random::image function core/lib/Drupal/Component/Utility/Random.php Create a placeholder image.
Random::MAXIMUM_TRIES constant core/lib/Drupal/Component/Utility/Random.php The maximum number of times name() and string() can loop.
Random::name function core/lib/Drupal/Component/Utility/Random.php Generates a random string containing letters and numbers.
Random::object function core/lib/Drupal/Component/Utility/Random.php Generates a random PHP object.
Random::paragraphs function core/lib/Drupal/Component/Utility/Random.php Generate paragraphs separated by double new line.
Random::query function core/modules/views/src/Plugin/views/sort/Random.php Called to add the sort to a query.
Random::sentences function core/lib/Drupal/Component/Utility/Random.php Generates sentences Latin words, often used as placeholder text.
Random::string function core/lib/Drupal/Component/Utility/Random.php Generates a random string of ASCII characters of codes 32 to 126.
Random::usesGroupBy function core/modules/views/src/Plugin/views/sort/Random.php Provides the handler some groupby.
Random::word function core/lib/Drupal/Component/Utility/Random.php Generate a string that looks like a word (letters only, alternating consonants and vowels).
RandomGeneratorTrait trait core/tests/Drupal/Tests/RandomGeneratorTrait.php Provides random generator utility methods.
RandomGeneratorTrait.php file core/tests/Drupal/Tests/RandomGeneratorTrait.php
RandomGeneratorTrait::$randomGenerator property core/tests/Drupal/Tests/RandomGeneratorTrait.php The random generator.
RandomGeneratorTrait::getRandomGenerator function core/tests/Drupal/Tests/RandomGeneratorTrait.php Gets the random generator for the utility methods.
RandomGeneratorTrait::randomMachineName function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a unique random string containing letters and numbers.
RandomGeneratorTrait::randomObject function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a random PHP object.
RandomGeneratorTrait::randomString function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a pseudo-random string of ASCII characters of codes 32 to 126.
RandomGeneratorTrait::randomStringValidate function core/tests/Drupal/Tests/RandomGeneratorTrait.php Callback for random string validation.
RandomTest class core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random data generation.
RandomTest.php file core/tests/Drupal/Tests/Component/Utility/RandomTest.php
RandomTest::$firstStringGenerated property core/tests/Drupal/Tests/Component/Utility/RandomTest.php The first random string passed to the test callback.
RandomTest::testRandomNameException function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests infinite loop prevention whilst generating random names.
RandomTest::testRandomNameNonUnique function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random name generation if uniqueness is not enforced.
RandomTest::testRandomNamesUniqueness function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests unique random name generation.
RandomTest::testRandomObject function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random object generation to ensure the expected number of properties.
RandomTest::testRandomStringException function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests infinite loop prevention whilst generating random strings.
RandomTest::testRandomStringNonUnique function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string if uniqueness is not enforced.
RandomTest::testRandomStringUniqueness function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests unique random string generation.
RandomTest::testRandomStringValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string validation callbacks.
RandomTest::testRandomWordValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random word.
RandomTest::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.
Range class core/lib/Drupal/Core/Render/Element/Range.php Provides a slider for input of a number within a specific range.
Range.php file core/lib/Drupal/Core/Render/Element/Range.php
Range::getInfo function core/lib/Drupal/Core/Render/Element/Range.php Returns the element properties for this element.
Range::preRenderRange function core/lib/Drupal/Core/Render/Element/Range.php Prepares a #type 'range' render element for input.html.twig.
Range::valueCallback function core/lib/Drupal/Core/Render/Element/Range.php Determines how user input is mapped to an element's #value property.
RangeConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php Range constraint.
RangeConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php
RangeConstraint::$maxMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php
RangeConstraint::$minMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php
RangeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php Validator for the Drupal 'range' constraint.
RangeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
RangeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
RangeQueryTest class core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php Tests the Range query functionality.
RangeQueryTest.php file core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php
RangeQueryTest::testRangeQuery function core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php Confirms that range queries work and return the correct result.
Raw class core/modules/views/src/Plugin/views/argument_default/Raw.php Default argument plugin to use the raw value from the URL.
Raw.php file core/modules/views/src/Plugin/views/argument_default/Raw.php
Raw::$aliasManager property core/modules/views/src/Plugin/views/argument_default/Raw.php The alias manager.

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