interface PcpServiceInterface in Profile Complete Percent 8
Interface for PcpService.
@package Drupal\pcp
Hierarchy
- interface \Drupal\pcp\PcpServiceInterface
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\pcpView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PcpServiceInterface:: |
public | function | Builds array of pcp data. | 1 |