You are here

ActionConfigEntityInterface.php in Drupal 10

Namespace

Drupal\system

File

core/modules/system/src/ActionConfigEntityInterface.php
View source
<?php

namespace Drupal\system;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining an action entity.
 */
interface ActionConfigEntityInterface extends ConfigEntityInterface {

  /**
   * Returns whether or not this action is configurable.
   *
   * @return bool
   */
  public function isConfigurable();

  /**
   * Returns the operation type.
   *
   * @return string
   */
  public function getType();

  /**
   * Returns the operation plugin.
   *
   * @return \Drupal\Core\Action\ActionInterface
   */
  public function getPlugin();

}

Interfaces

Namesort descending Description
ActionConfigEntityInterface Provides an interface defining an action entity.