You are here

interface TwitterProfileInterface in Twitter Profile Widget 3.x

Same name and namespace in other branches
  1. 8.2 src/TwitterProfileInterface.php \Drupal\twitter_profile_widget\TwitterProfileInterface
  2. 8 src/TwitterProfileInterface.php \Drupal\twitter_profile_widget\TwitterProfileInterface

Interface TwitterProfileInterface.

@package Drupal\twitter_profile_widget

Hierarchy

Expanded class hierarchy of TwitterProfileInterface

All classes that implement TwitterProfileInterface

File

src/TwitterProfileInterface.php, line 10

Namespace

Drupal\twitter_profile_widget
View source
interface TwitterProfileInterface {

  /**
   * Pull tweets from the Twitter API.
   *
   * @param array $instance
   *   All the data for the given Twitter widget.
   *
   * @return str[]
   *   An array of Twitter objects.
   */
  public static function pull(array $instance);

}

Members

Namesort descending Modifiers Type Description Overrides
TwitterProfileInterface::pull public static function Pull tweets from the Twitter API. 1