Verified Commit 651c4394 authored by Hemangi Gokhale's avatar Hemangi Gokhale
Browse files

Issue #3251739: Link to PHP date formats

parent 83a958c0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -52,8 +52,7 @@ function socialfeed_theme($existing, $type, $theme, $path) {
 * Implements hook_theme_suggestions_HOOK().
 */
function socialfeed_theme_suggestions_socialfeed_facebook_post(array $variables) {
  $suggestions = [
  return [
    'socialfeed_facebook_post__' . $variables['post']['status_type'],
  ];
  return $suggestions;
}
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ class FacebookSettingsForm extends ConfigFormBase {
      '#title' => $this->t('Date/Time Format'),
      '#default_value' => $config->get('time_format'),
      '#description' => $this->t('You can check for PHP Date Formats <a href="@datetime" target="@blank">here</a>', [
        '@datetime' => 'https://php.net/manual/en/function.date.php',
        '@datetime' => 'https://www.php.net/manual/en/datetime.format.php',
        '@blank' => '_blank',
      ]),
      '#size' => 60,
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ class TwitterSettingsForm extends ConfigFormBase {
      '#title' => $this->t('Date/Time Format'),
      '#default_value' => $config->get('time_format'),
      '#description' => $this->t('You can check for PHP Date Formats <a href="@datetime" target="@blank">here</a>', [
        '@datetime' => 'http://php.net/manual/en/function.date.php',
        '@datetime' => 'https://www.php.net/manual/en/datetime.format.php',
        '@blank' => '_blank',
      ]),
      '#size' => 60,