You are here

interface GoogleAnalyticsCounterMessageManagerInterface in Google Analytics Counter 8.3

Defines the Google Analytics Counter message manager.

@package Drupal\google_analytics_counter

Hierarchy

Expanded class hierarchy of GoogleAnalyticsCounterMessageManagerInterface

All classes that implement GoogleAnalyticsCounterMessageManagerInterface

3 files declare their use of GoogleAnalyticsCounterMessageManagerInterface
GoogleAnalyticsCounterAuthForm.php in src/Form/GoogleAnalyticsCounterAuthForm.php
GoogleAnalyticsCounterController.php in src/Controller/GoogleAnalyticsCounterController.php
GoogleAnalyticsCounterSettingsForm.php in src/Form/GoogleAnalyticsCounterSettingsForm.php

File

src/GoogleAnalyticsCounterMessageManagerInterface.php, line 11

Namespace

Drupal\google_analytics_counter
View source
interface GoogleAnalyticsCounterMessageManagerInterface {

  /**
   * Prints a warning message when not authenticated.
   *
   * @param $build
   *
   */
  public function notAuthenticatedMessage($build = []);

  /**
   * Revoke Google Authentication Message.
   *
   * @param $build
   *
   * @return mixed
   */
  public function revokeAuthenticationMessage($build);

  /**
   * Returns the link with the Google project name if it is available.
   *
   * @return string
   *   Project name.
   */
  public function googleProjectName();

  /**
   * Get the Profile name of the Google view from Drupal.
   *
   * @param string $profile_id
   *   The profile id used in the google query.
   *
   * @return string mixed
   */
  public function getProfileName($profile_id);

  /**
   * Get the the top twenty results for pageviews and pageview_totals.
   *
   * @param string $table
   *   The table from which the results are selected.
   *
   * @return mixed
   */
  public function getTopTwentyResults($table);

  /**
   * Voluminous on screen instructions about authentication.
   *
   * @param $web_properties
   *
   * @return string
   */
  public function authenticationInstructions($web_properties);

  /**
   * Sets the start and end dates in configuration.
   *
   * @return array
   *   Start and end dates.
   */
  public function setStartDateEndDate();

}

Members

Namesort descending Modifiers Type Description Overrides
GoogleAnalyticsCounterMessageManagerInterface::authenticationInstructions public function Voluminous on screen instructions about authentication. 1
GoogleAnalyticsCounterMessageManagerInterface::getProfileName public function Get the Profile name of the Google view from Drupal. 1
GoogleAnalyticsCounterMessageManagerInterface::getTopTwentyResults public function Get the the top twenty results for pageviews and pageview_totals. 1
GoogleAnalyticsCounterMessageManagerInterface::googleProjectName public function Returns the link with the Google project name if it is available. 1
GoogleAnalyticsCounterMessageManagerInterface::notAuthenticatedMessage public function Prints a warning message when not authenticated. 1
GoogleAnalyticsCounterMessageManagerInterface::revokeAuthenticationMessage public function Revoke Google Authentication Message. 1
GoogleAnalyticsCounterMessageManagerInterface::setStartDateEndDate public function Sets the start and end dates in configuration. 1