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

Breadcrumb

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

function Definition::isDeprecated

Whether this definition is deprecated, that means it should not be called anymore.

File

vendor/symfony/dependency-injection/Definition.php, line 668

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function isDeprecated() : bool {
    return (bool) $this->deprecation;
}
RSS feed
Powered by Drupal