4 * Contains \Drupal\bootstrap\Plugin\Process\Actions.
7 namespace Drupal\bootstrap\Plugin\Process;
9 use Drupal\bootstrap\Annotation\BootstrapProcess;
10 use Drupal\bootstrap\Utility\Element;
11 use Drupal\Core\Form\FormStateInterface;
14 * Processes the "actions" element.
16 * @ingroup plugins_process
18 * @BootstrapProcess("actions")
20 class Actions extends ProcessBase implements ProcessInterface {
25 public static function processElement(Element $element, FormStateInterface $form_state, array &$complete_form) {
26 foreach ($element->children() as $child) {
27 if ($child->isPropertyEmpty('icon')) {