Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
synhelper
Commits
7ef349cb
Commit
7ef349cb
authored
Dec 10, 2017
by
Anatoly Politsin
Browse files
synmail to contact_mail
parent
a96c1cc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Hook/Form
Synm
ailSettingsAlter.php
→
src/Hook/Form
ContactM
ailSettingsAlter.php
View file @
7ef349cb
...
...
@@ -7,7 +7,7 @@ use Drupal\Core\Controller\ControllerBase;
/**
* AjaxContactForm.
*/
class
Form
Synm
ailSettingsAlter
extends
ControllerBase
{
class
Form
ContactM
ailSettingsAlter
extends
ControllerBase
{
/**
* Hook.
...
...
@@ -34,7 +34,7 @@ class FormSynmailSettingsAlter extends ControllerBase {
E-mail клиента (если он его оставил) находится где-то в письме.</li>
<li>До того как начать писать e-mail посмотри - может клиент оставил телефон,
в таком случае лучше прямо сейчас ему позвонить, сообщить что заявка получена, и передана в работу.</li>
<ul>
<
/
ul>
<hr>
<h2>Содержимое заявки</h2>
"
;
...
...
synhelper.module
View file @
7ef349cb
...
...
@@ -9,11 +9,11 @@ use Drupal\synhelper\Hook\ContactMessagePresave;
use
Drupal\synhelper\Hook\PreprocessHtml
;
use
Drupal\synhelper\Hook\FileValidate
;
use
Drupal\synhelper\Hook\FormAlter
;
use
Drupal\synhelper\Hook\FormContactMailSettingsAlter
;
use
Drupal\synhelper\Hook\FormContactMessageFormAlter
;
use
Drupal\synhelper\Hook\FormMenuEditFormAlter
;
use
Drupal\synhelper\Hook\FormNodePageFormAlter
;
use
Drupal\synhelper\Hook\FormNodePageEditFormAlter
;
use
Drupal\synhelper\Hook\FormSynmailSettingsAlter
;
use
Drupal\synhelper\Hook\EntityPresave
;
use
Drupal\synhelper\Hook\CssAlter
;
use
Drupal\synhelper\Hook\FormUpdateManagerInstallFormAlter
;
...
...
@@ -115,8 +115,8 @@ function synhelper_form_contact_message_form_alter(&$form, &$form_state, $form_i
/**
* Implements hook_form_alter().
*/
function
synhelper_form_
syn
mail_settings_alter
(
&
$form
,
$form_state
,
$form_id
)
{
Form
Synm
ailSettingsAlter
::
hook
(
$form
,
$form_state
,
$form_id
);
function
synhelper_form_
contact_
mail_settings_alter
(
&
$form
,
$form_state
,
$form_id
)
{
Form
ContactM
ailSettingsAlter
::
hook
(
$form
,
$form_state
,
$form_id
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment