You are here

public function RulesCertificateMapper::processMapping in Certificate 4.x

Get the map keys that the user is eligible for.

Return value

array

Overrides CertificateMapperBase::processMapping

File

src/Plugin/certificate/CertificateMapper/RulesCertificateMapper.php, line 33

Class

RulesCertificateMapper
Plugin annotation @CertificateMapper( id = "rules", label = @Translation("Rules component"), description = @Translation("Uses rules components"), required = {"rules"} )

Namespace

Drupal\certificate\Plugin\certificate\CertificateMapper

Code

public function processMapping(ContentEntityInterface $entity, AccountInterface $account) {
}