You are here

interface SalesforceMappableEntityTypesInterface in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/SalesforceMappableEntityTypesInterface.php \Drupal\salesforce_mapping\SalesforceMappableEntityTypesInterface
  2. 8.3 modules/salesforce_mapping/src/SalesforceMappableEntityTypesInterface.php \Drupal\salesforce_mapping\SalesforceMappableEntityTypesInterface

Mappable entity types interface.

Hierarchy

Expanded class hierarchy of SalesforceMappableEntityTypesInterface

All classes that implement SalesforceMappableEntityTypesInterface

1 file declares its use of SalesforceMappableEntityTypesInterface
SalesforceMappingFormBase.php in modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormBase.php

File

modules/salesforce_mapping/src/SalesforceMappableEntityTypesInterface.php, line 10

Namespace

Drupal\salesforce_mapping
View source
interface SalesforceMappableEntityTypesInterface {

  /**
   * Get an array of entity types that are mappable.
   *
   * @return \Drupal\Core\Entity\EntityTypeInterface[]
   *   Objects which are exposed for mapping to Salesforce.
   */
  public function getMappableEntityTypes();

  /**
   * Given an entity type, return true or false to indicate if it's mappable.
   *
   * @return bool
   *   TRUE or FALSE to indicate if the given entity type is mappable.
   */
  public function isMappable(EntityTypeInterface $entity_type);

}

Members

Namesort descending Modifiers Type Description Overrides
SalesforceMappableEntityTypesInterface::getMappableEntityTypes public function Get an array of entity types that are mappable. 1
SalesforceMappableEntityTypesInterface::isMappable public function Given an entity type, return true or false to indicate if it's mappable. 1