public function ContributorPropertiesServiceInterface::sortByWeightProperty in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/ContributorPropertiesServiceInterface.php \Drupal\bibcite_entity\ContributorPropertiesServiceInterface::sortByWeightProperty()
Sort callback for config entities with weight parameter.
Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity_first: First entity to compare.
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity_second: Second entity to compare.
Return value
int Sort result.
1 method overrides ContributorPropertiesServiceInterface::sortByWeightProperty()
- ContributorPropertiesService::sortByWeightProperty in modules/
bibcite_entity/ src/ ContributorPropertiesService.php - Sort callback for config entities with weight parameter.
File
- modules/
bibcite_entity/ src/ ContributorPropertiesServiceInterface.php, line 61
Class
- ContributorPropertiesServiceInterface
- Interface HelpInterface.
Namespace
Drupal\bibcite_entityCode
public function sortByWeightProperty(ConfigEntityInterface $entity_first, ConfigEntityInterface $entity_second);