Commit d4c63270 authored by APolitsin's avatar APolitsin
Browse files

rm "extends ControllerBase"

parent 932c1b9c
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* SetMessageTitle.
*/
class ContactMessagePresave extends ControllerBase {
class ContactMessagePresave {
/**
* Set Title.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* CssAlter.
*/
class CssAlter extends ControllerBase {
class CssAlter {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FileValidate.
*/
class FileValidate extends ControllerBase {
class FileValidate {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FormContactMailSettingsAlter.
*/
class FormContactMailSettingsAlter extends ControllerBase {
class FormContactMailSettingsAlter {
/**
* Hook.
......
......@@ -2,7 +2,6 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Ajax\HtmlCommand;
use Drupal\Core\Url;
......@@ -10,7 +9,7 @@ use Drupal\Core\Url;
/**
* AjaxContactForm.
*/
class FormContactMessageFormAlter extends ControllerBase {
class FormContactMessageFormAlter {
/**
* Hook.
......
<?php
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Render\Markup;
/**
* FormFieldConfigEditFormAlter.
*/
class FormFieldConfigEditFormAlter extends ControllerBase {
class FormFieldConfigEditFormAlter {
/**
* Hook.
......
......@@ -2,13 +2,12 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Render\Markup;
/**
* FormFieldUiFieldStorageAddFormAlter - Field Form Warning.
*/
class FormFieldUiFieldStorageAddFormAlter extends ControllerBase {
class FormFieldUiFieldStorageAddFormAlter {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FormMenuEditFormAlter - Main menu fixes.
*/
class FormMenuEditFormAlter extends ControllerBase {
class FormMenuEditFormAlter {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FormNodeFormAlter.
*/
class FormNodeFormAlter extends ControllerBase {
class FormNodeFormAlter {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FormNodeTypeAddFormAlter.
*/
class FormNodeTypeAddFormAlter extends ControllerBase {
class FormNodeTypeAddFormAlter {
/**
* Hook.
......
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* FormUpdateManagerInstallFormAlter.
*/
class FormUpdateManagerInstallFormAlter extends ControllerBase {
class FormUpdateManagerInstallFormAlter {
/**
* Hook.
......@@ -16,7 +14,7 @@ class FormUpdateManagerInstallFormAlter extends ControllerBase {
unset($form['project_url']);
unset($form['information']);
unset($form['project_upload']);
$form['#prefix'] = t('<h3>Access denied by syndev</h3><p>Use composer require drupal/MODULENAME in drupal root folder.');
$form['#prefix'] = t('<h3>Access denied by synhelper</h3><p>Use composer require drupal/MODULENAME in drupal root folder.');
}
}
......@@ -2,12 +2,10 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
/**
* ModulesInstalled.
*/
class ModulesInstalled extends ControllerBase {
class ModulesInstalled {
/**
* Hook.
......
......@@ -7,12 +7,10 @@ namespace Drupal\synhelper\Hook;
* Contains \Drupal\synhelper\Hook\NodePresave.
*/
use Drupal\Core\Controller\ControllerBase;
/**
* Controller NodePresave.
*/
class NodePresave extends ControllerBase {
class NodePresave {
/**
* Hook.
......
......@@ -2,13 +2,12 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
use Drupal\synhelper\Controller\IdnaConvert;
/**
* PreprocessHtml.
*/
class PhpmailAlterFromAlter extends ControllerBase {
class PhpmailAlterFromAlter {
/**
* Hook.
......
......@@ -2,14 +2,13 @@
namespace Drupal\synhelper\Hook;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Render\Markup;
use Drupal\Core\Url;
/**
* PreprocessHtml.
*/
class PreprocessHtml extends ControllerBase {
class PreprocessHtml {
/**
* Hook.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment