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

Breadcrumb

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

function PluginBase::isConfigurable

Determines if the plugin is configurable.

Return value

bool A boolean indicating whether the plugin is configurable.

Deprecated

in drupal:11.1.0 and is removed from drupal:12.0.0. Use instanceof to check if the plugin implements \Drupal\Component\Plugin\ConfigurableInterface instead.

See also

https://www.drupal.org/node/3198285

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 108

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function isConfigurable() {
    @trigger_error(__CLASS__ . "::" . __FUNCTION__ . " is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use instanceof to check if the plugin implements \\Drupal\\Component\\Plugin\\ConfigurableInterface instead. See https://www.drupal.org/node/3198285", E_USER_DEPRECATED);
    return $this instanceof ConfigurableInterface;
}

API Navigation

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