You are here

LearningPathMembersPluginInterface.php in Opigno Learning path 3.x

Same filename and directory in other branches
  1. 8 src/LearningPathMembersPluginInterface.php

File

src/LearningPathMembersPluginInterface.php
View source
<?php

namespace Drupal\opigno_learning_path;

use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\user\Entity\User;

/**
 * Interface ActivityAnswerPluginInterface.
 */
interface LearningPathMembersPluginInterface extends PluginInspectionInterface {

  /**
   * Get plugin id.
   */
  public function getId();

  /**
   * Get members form.
   *
   * @param array $form
   *   Form array.
   * @param mixed $form_state
   *   Form state.
   * @param mixed $current_user
   *   User object.
   *
   * @return mixed
   *   From.
   */
  public function getMembersForm(array &$form, FormStateInterface $form_state, User $current_user);

}

Interfaces

Namesort descending Description
LearningPathMembersPluginInterface Interface ActivityAnswerPluginInterface.