Verified Commit d6a91bd8 authored by Dave Long's avatar Dave Long
Browse files

Issue #3083507 by oknate, jungle, quietone, neelam_wadhwani, longwave, xjm,...

Issue #3083507 by oknate, jungle, quietone, neelam_wadhwani, longwave, xjm, tim.plunkett, smustgrave: Standardize "plugin ID" in doc comments instead of "plugin_id"

(cherry picked from commit 4e9a6028)
parent 69e817f5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ public function createInstance($plugin_id, array $configuration = []) {
   * @param string $plugin_id
   *   The identifier of the plugin implementation.
   * @param mixed $plugin_definition
   *   The definition associated with the plugin_id.
   *   The definition associated with the plugin ID.
   * @param array $configuration
   *   An array of configuration that may be passed to the instance.
   *
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ abstract class PluginBase implements PluginInspectionInterface, DerivativeInspec
  const DERIVATIVE_SEPARATOR = ':';

  /**
   * The plugin_id.
   * The plugin ID.
   *
   * @var string
   */
@@ -46,7 +46,7 @@ abstract class PluginBase implements PluginInspectionInterface, DerivativeInspec
   * @param array $configuration
   *   A configuration array containing information about the plugin instance.
   * @param string $plugin_id
   *   The plugin_id for the plugin instance.
   *   The plugin ID for the plugin instance.
   * @param mixed $plugin_definition
   *   The plugin implementation definition.
   */
+2 −2
Original line number Diff line number Diff line
@@ -13,10 +13,10 @@
interface PluginInspectionInterface {

  /**
   * Gets the plugin_id of the plugin instance.
   * Gets the plugin ID of the plugin instance.
   *
   * @return string
   *   The plugin_id of the plugin instance.
   *   The plugin ID of the plugin instance.
   */
  public function getPluginId();

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ class MessageAction extends ConfigurableActionBase implements ContainerFactoryPl
   * @param array $configuration
   *   A configuration array containing information about the plugin instance.
   * @param string $plugin_id
   *   The plugin_id for the plugin instance.
   *   The plugin ID for the plugin instance.
   * @param mixed $plugin_definition
   *   The plugin implementation definition.
   * @param \Drupal\Core\Utility\Token $token
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ abstract class SelectionPluginBase extends PluginBase implements SelectionInterf
   * @param array $configuration
   *   A configuration array containing information about the plugin instance.
   * @param string $plugin_id
   *   The plugin_id for the plugin instance.
   *   The plugin ID for the plugin instance.
   * @param mixed $plugin_definition
   *   The plugin implementation definition.
   */
Loading