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

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
InvalidArgumentException class PhpTuf\ComposerStager\API\Exception vendor/php-tuf/composer-stager/src/API/Exception/InvalidArgumentException.php This exception is thrown when an argument doesn't satisfy validation rules. 3
InvalidArgumentException class Symfony\Component\Routing\Exception vendor/symfony/routing/Exception/InvalidArgumentException.php 4 3
InvalidArgumentException class Symfony\Component\Mailer\Exception vendor/symfony/mailer/Exception/InvalidArgumentException.php @author Fabien Potencier <fabien@symfony.com> 2 7
InvalidArgumentException class Psr\Log vendor/psr/log/src/InvalidArgumentException.php 1 4
InvalidArgumentException final class SebastianBergmann\CodeCoverage vendor/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php 1 5
InvalidArgumentException class Webmozart\Assert vendor/webmozart/assert/src/InvalidArgumentException.php 1
InvalidArgumentException class SebastianBergmann\Diff vendor/sebastian/diff/src/Exception/InvalidArgumentException.php 2
InvalidArgumentException class Prophecy\Exception vendor/phpspec/prophecy/src/Prophecy/Exception/InvalidArgumentException.php 1 12
InvalidArgumentException class Symfony\Component\Console\Exception vendor/symfony/console/Exception/InvalidArgumentException.php @author Jérôme Tamarelle <jerome@tamarelle.net> 3 32
InvalidArgumentException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/InvalidArgumentException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 27
InvalidArgumentException class Symfony\Component\String\Exception vendor/symfony/string/Exception/InvalidArgumentException.php 1 5
InvalidArgumentException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php Thrown to indicate that the argument received is not valid 1 20
InvalidArgumentException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidArgumentException.php Wrapper for the InvalidArgumentException 3 5
InvalidArgumentException abstract class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/InvalidArgumentException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4 5
InvalidArgumentException final class SebastianBergmann\Template vendor/phpunit/php-text-template/src/exceptions/InvalidArgumentException.php 1
InvalidArgumentException interface Psr\Cache vendor/psr/cache/src/InvalidArgumentException.php Exception interface for invalid cache arguments.
InvalidArgumentException class Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php Base InvalidArgumentException for Dependency Injection component. 7 58
InvalidArgumentException class Symfony\Component\Lock\Exception vendor/symfony/lock/Exception/InvalidArgumentException.php @author Jérémy Derussé <jeremy@derusse.com> 2 13
InvalidArgumentException class Ramsey\Collection\Exception vendor/ramsey/collection/src/Exception/InvalidArgumentException.php Thrown to indicate an argument is not of the expected type. 7
InvalidArgumentException class Symfony\Component\Process\Exception vendor/symfony/process/Exception/InvalidArgumentException.php InvalidArgumentException for the Process Component. 1 3
InvalidArgumentException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/InvalidArgumentException.php Base InvalidArgumentException for the Validator component. 2 14
InvalidArgumentException class Doctrine\Instantiator\Exception vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/InvalidArgumentException.php Exception for invalid arguments provided to the instantiator 1
InvalidArgumentException class Symfony\Component\Mime\Exception vendor/symfony/mime/Exception/InvalidArgumentException.php @author Fabien Potencier <fabien@symfony.com> 2 7
InvalidArgumentException final class GuzzleHttp\Exception vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php 1 2
InvalidArgumentException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/InvalidArgumentException.php InvalidArgumentException. 2 35
InvalidArgumentException class Symfony\Component\Filesystem\Exception vendor/symfony/filesystem/Exception/InvalidArgumentException.php @author Christian Flothmann <christian.flothmann@sensiolabs.de> 1 3
InvalidArgumentException class Symfony\Component\BrowserKit\Exception vendor/symfony/browser-kit/Exception/InvalidArgumentException.php 1 3
InvalidBytesException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/InvalidBytesException.php Thrown to indicate that the bytes being operated on are invalid in some way 1
InvalidCallbackError final class Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/InvalidCallbackError.php 3
InvalidCodeUnitException final class SebastianBergmann\CodeUnit vendor/sebastian/code-unit/src/exceptions/InvalidCodeUnitException.php 1
InvalidComponentDataException class Drupal\Core\Render\Component\Exception core/lib/Drupal/Core/Render/Component/Exception/InvalidComponentDataException.php Raised when a component is rendering with invalid data. 1
InvalidComponentException class Drupal\Core\Render\Component\Exception core/lib/Drupal/Core/Render/Component/Exception/InvalidComponentException.php Custom exception for invalid components. 5
InvalidConfigException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php Wrapper for the ResourceNotFoundException
InvalidConfigException final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/InvalidConfigException.php Thrown if config created or changed by a recipe fails validation. 1
InvalidCookieDomain final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidCookieDomain.php WebDriver\Exception\InvalidCookieDomain class
InvalidCoordinates final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidCoordinates.php WebDriver\Exception\InvalidCoordinates class
InvalidCoversTargetException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/InvalidCoversTargetException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
InvalidDataProviderException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/InvalidDataProviderException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
InvalidDataTypeException class Drupal\Component\Serialization\Exception core/lib/Drupal/Component/Serialization/Exception/InvalidDataTypeException.php Exception thrown when a data type is invalid. 1 14
InvalidDecoratedMethod class Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php Thrown when a decorator's _call() method uses a method that does not exist.
InvalidDependencyException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/InvalidDependencyException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidDeriverException class Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/InvalidDeriverException.php Exception to be thrown if a plugin tries to use an invalid deriver. 1
InvalidDirectoryException final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/Exception/InvalidDirectoryException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidElementCoordinates final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidElementCoordinates.php WebDriver\Exception\InvalidElementCoordinates class
InvalidElementState final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidElementState.php WebDriver\Exception\InvalidElementState class
InvalidEmail class Egulias\EmailValidator\Result vendor/egulias/email-validator/src/Result/InvalidEmail.php 2 22
InvalidEmailException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/InvalidEmailException.php
InvalidEntityException final class Drupal\Core\DefaultContent core/lib/Drupal/Core/DefaultContent/InvalidEntityException.php Thrown if an entity being imported has validation errors.
InvalidEventException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/InvalidEventException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidJsonException final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/Exception/InvalidJsonException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1

Pagination

  • First page
  • Previous page
  • …
  • Page 95
  • Page 96
  • Page 97
  • Page 98
  • Page 99
  • Page 100
  • Page 101
  • Page 102
  • Page 103
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal