SimpleAdsTypeInterface.php in SimpleAds 8
File
src/SimpleAdsTypeInterface.php
View source
<?php
namespace Drupal\simpleads;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Form\FormStateInterface;
interface SimpleAdsTypeInterface extends PluginInspectionInterface {
public function getName();
public function buildForm(array $form, FormStateInterface $form_state, $type = NULL, $id = NULL);
public function createFormSubmit($options, FormStateInterface $form_state, $type = NULL);
public function updateFormSubmit($options, FormStateInterface $form_state, $type = NULL, $id = NULL);
public function deleteFormSubmit($options, FormStateInterface $form_state, $type = NULL, $id = NULL);
public function theme();
public function render();
}