Loading src/Form/HubspotSettingsForm.php +1 −1 Changes for src/Form/HubspotSettingsForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ class HubspotSettingsForm extends ConfigFormBase { * {@inheritdoc} */ public function buildForm(array $form, FormStateInterface $form_state) { $config = \Drupal::config('hubspot_forms.settings'); $config = $this->config('hubspot_forms.settings'); $form['hubspot_api_key'] = [ '#type' => 'textfield', Loading src/Plugin/CKEditorPlugin/HubspotForms.php +2 −2 Changes for src/Plugin/CKEditorPlugin/HubspotForms.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class HubspotForms extends PluginBase implements CKEditorPluginInterface, CKEdit public function getButtons() { return [ 'hubspot_forms' => [ 'label' => t('Hubspot Forms'), 'label' => $this->t('Hubspot Forms'), 'image' => drupal_get_path('module', 'hubspot_forms') . '/assets/icon.png', ], ]; Loading @@ -64,7 +64,7 @@ class HubspotForms extends PluginBase implements CKEditorPluginInterface, CKEdit */ public function getConfig(Editor $editor) { return [ 'hubspot_forms_dialog_title' => t('Hubspot Forms'), 'hubspot_forms_dialog_title' => $this->t('Hubspot Forms'), ]; } Loading Loading
src/Form/HubspotSettingsForm.php +1 −1 Changes for src/Form/HubspotSettingsForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ class HubspotSettingsForm extends ConfigFormBase { * {@inheritdoc} */ public function buildForm(array $form, FormStateInterface $form_state) { $config = \Drupal::config('hubspot_forms.settings'); $config = $this->config('hubspot_forms.settings'); $form['hubspot_api_key'] = [ '#type' => 'textfield', Loading
src/Plugin/CKEditorPlugin/HubspotForms.php +2 −2 Changes for src/Plugin/CKEditorPlugin/HubspotForms.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class HubspotForms extends PluginBase implements CKEditorPluginInterface, CKEdit public function getButtons() { return [ 'hubspot_forms' => [ 'label' => t('Hubspot Forms'), 'label' => $this->t('Hubspot Forms'), 'image' => drupal_get_path('module', 'hubspot_forms') . '/assets/icon.png', ], ]; Loading @@ -64,7 +64,7 @@ class HubspotForms extends PluginBase implements CKEditorPluginInterface, CKEdit */ public function getConfig(Editor $editor) { return [ 'hubspot_forms_dialog_title' => t('Hubspot Forms'), 'hubspot_forms_dialog_title' => $this->t('Hubspot Forms'), ]; } Loading