DerivativeInspectionInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php
  2. 8.9.x core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php
  3. 10 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php

Namespace

Drupal\Component\Plugin

File

core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php

View source
<?php

namespace Drupal\Component\Plugin;


/**
 * Provides a plugin interface for providing derivative metadata inspection.
 */
interface DerivativeInspectionInterface {
    
    /**
     * Gets the base_plugin_id of the plugin instance.
     *
     * @return string
     *   The base_plugin_id of the plugin instance.
     */
    public function getBaseId();
    
    /**
     * Gets the derivative_id of the plugin instance.
     *
     * @return string|null
     *   The derivative_id of the plugin instance NULL otherwise.
     */
    public function getDerivativeId();

}

Interfaces

Title Deprecated Summary
DerivativeInspectionInterface Provides a plugin interface for providing derivative metadata inspection.

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