function WorkspaceAssociation::getIdField
Determines the target ID field name for an entity type.
@internal
Parameters
string $entity_type_id: The entity type ID.
Return value
string The name of the workspace association target ID field.
File
-
core/
modules/ workspaces/ src/ WorkspaceAssociation.php, line 105
Class
- WorkspaceAssociation
- Provides a class for CRUD operations on workspace associations.
Namespace
Drupal\workspacesCode
public static function getIdField(string $entity_type_id) : string {
return WorkspaceTracker::getIdField($entity_type_id);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.