EC2 Default User %!s(int64=7) %!d(string=hai) anos
pai
achega
6707bb2c67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Form/TwitterApiForm.php

+ 1 - 1
src/Form/TwitterApiForm.php

@@ -122,7 +122,7 @@ class TwitterApiForm extends FormBase {
       $this->twitterConfig->set('consumer_secret', $form_state->getValue('consumer_secret'))->save();
       $this->twitterConfig->set('oauth_access_token', $form_state->getValue('oauth_access_token'))->save();
       $this->twitterConfig->set('oauth_access_token_secret', $form_state->getValue('oauth_access_token_secret'))->save();
-
+	\Drupal::logger('statusmessageTwitterAPI')->debug('This is my token: %token', array('%token' => $form_state->getValue('oauth_access_token')));
     }
   }
 }