Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\content_moderation;
|
||||
|
||||
use Drupal\Core\Config\Entity\ConfigEntityInterface;
|
||||
|
||||
/**
|
||||
* Provides an interface for defining Moderation state transition entities.
|
||||
*/
|
||||
interface ModerationStateTransitionInterface extends ConfigEntityInterface {
|
||||
|
||||
/**
|
||||
* Gets the from state for the given transition.
|
||||
*
|
||||
* @return string
|
||||
* The moderation state ID for the from state.
|
||||
*/
|
||||
public function getFromState();
|
||||
|
||||
/**
|
||||
* Gets the to state for the given transition.
|
||||
*
|
||||
* @return string
|
||||
* The moderation state ID for the to state.
|
||||
*/
|
||||
public function getToState();
|
||||
|
||||
/**
|
||||
* Gets the weight for the given transition.
|
||||
*
|
||||
* @return int
|
||||
* The weight of this transition.
|
||||
*/
|
||||
public function getWeight();
|
||||
|
||||
}
|
||||
Reference in a new issue