You are here

TwitterProfileInterface.php in Twitter Profile Widget 3.x

Same filename and directory in other branches
  1. 8.2 src/TwitterProfileInterface.php
  2. 8 src/TwitterProfileInterface.php

File

src/TwitterProfileInterface.php
View source
<?php

namespace Drupal\twitter_profile_widget;


/**
 * Interface TwitterProfileInterface.
 *
 * @package Drupal\twitter_profile_widget
 */
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);

}

Interfaces

Namesort descending Description
TwitterProfileInterface Interface TwitterProfileInterface.