diff -u b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php --- b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php @@ -17,12 +17,12 @@ /** * Gets the list of referenceable entities. * - * @param $match - * String that needs to be matched. + * @param string $match + * (optional) String that needs to be matched. * @param $match_operator - * Match operator that needs to be applied on String. + * (optional) Match operator that needs to be applied on String. * @param $limit - * Limit which is set to 0 as default. + * (optional) Limit which is set to 0 as default. * * @return array * A nested array of entities, the first level is keyed by the @@ -35,9 +35,9 @@ * Counts entities that are referenceable. * * @param $match - * String that needs to be matched. + * (optional) String that needs to be matched. * @param $match_operator - * Match operator that needs to be applied on String. + * (optional) Match operator that needs to be applied on String. * * @return int * The number of referenceable entities. @@ -48,7 +48,7 @@ * Validates which existing entities can be referenced. * * @param $ids - * An array of id's passed to validate. + * An array of Ids to validate. * * @return array * An array of valid entity IDs.