You are here

interface PcpServiceInterface in Profile Complete Percent 8

Interface for PcpService.

@package Drupal\pcp

Hierarchy

Expanded class hierarchy of PcpServiceInterface

All classes that implement PcpServiceInterface

1 file declares its use of PcpServiceInterface
PCPBlock.php in src/Plugin/Block/PCPBlock.php

File

src/PcpServiceInterface.php, line 12

Namespace

Drupal\pcp
View source
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);

}

Members