Skip to content
Snippets Groups Projects

Feature/istwcms 4166 publish unpublish

Merged Eric Bremner requested to merge feature/ISTWCMS-4166-publish-unpublish into 8.x-1.x
2 files
+ 46
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 39
0
<?php
namespace Drupal\uw_cfg_common\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\uw_cfg_common\UwPermissions\UwPermissions;
/**
* Form class for the content access form.
*/
class UwContentModerationForm extends FormBase {
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'uw_content_moderation_form';
}
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state, $nid = NULL, $vid = NULL) {
$form = [];
return $form;
}
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
// Set the message that the permissions have been saved.
$this->messenger()->addStatus($this->t('The changes have been saved.'));
}
}
Loading