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

Breadcrumb

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

function MethodOptions::getDeprecated

Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.

Generated from protobuf field <code>optional bool deprecated = 33 [default = false];</code>

Return value

bool

File

vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php, line 68

Class

MethodOptions
Generated from protobuf message <code>google.protobuf.MethodOptions</code>

Namespace

Google\Protobuf\Internal

Code

public function getDeprecated() {
    return isset($this->deprecated) ? $this->deprecated : false;
}

API Navigation

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