You are here

PcpServiceInterface.php in Profile Complete Percent 8

Namespace

Drupal\pcp

File

src/PcpServiceInterface.php
View source
<?php

namespace Drupal\pcp;

use Drupal\user\UserInterface;

/**
 * Interface for PcpService.
 *
 * @package Drupal\pcp
 */
interface PcpServiceInterface {

  /**
   * Builds array of pcp data.
   *
   * @param \Drupal\user\UserInterface $user
   *   The user to collect the data for.
   *
   * @return array
   *   The collected data.
   */
  public function getCompletePercentageData(UserInterface $user);

}

Interfaces

Namesort descending Description
PcpServiceInterface Interface for PcpService.