interface ProgressStepInterface in Forms Steps 8
An interface for progress step value objects.
Hierarchy
- interface \Drupal\forms_steps\ProgressStepInterface
Expanded class hierarchy of ProgressStepInterface
All classes that implement ProgressStepInterface
File
- src/
ProgressStepInterface.php, line 8
Namespace
Drupal\forms_stepsView source
interface ProgressStepInterface {
/**
* Gets the progress step's ID.
*
* @return string
* The progress step's ID.
*/
public function id();
/**
* Gets the progress step's label.
*
* @return string
* The progress step's label.
*/
public function label();
/**
* Gets the progress step's weight.
*
* @return int
* The progress step's weight.
*/
public function weight();
/**
* Gets the active routes for this progress step.
*
* @return array
* The active routes for this progress step.
*/
public function activeRoutes();
/**
* Set the active routes for this progress step.
*
* @param array $routes
* Routes to set for this progress step.
*/
public function setActiveRoutes(array $routes);
/**
* Gets the link for this progress step.
*
* @return string
* The link for this progress step.
*/
public function link();
/**
* Set the link for this progress step.
*
* @param string $link
* Links to set for this progress step.
*/
public function setLink($link);
/**
* Gets the link visibility for this progress step.
*
* @return array
* The steps for which the link is visible for this progress step.
*/
public function linkVisibility();
/**
* Set the link visibility for this progress step.
*
* @param array $steps
* Set the steps where the link will be visible.
*/
public function setLinkVisibility(array $steps);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProgressStepInterface:: |
public | function | Gets the active routes for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Gets the progress step's ID. | 1 |
ProgressStepInterface:: |
public | function | Gets the progress step's label. | 1 |
ProgressStepInterface:: |
public | function | Gets the link for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Gets the link visibility for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Set the active routes for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Set the link for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Set the link visibility for this progress step. | 1 |
ProgressStepInterface:: |
public | function | Gets the progress step's weight. | 1 |