Issue #3457750: Incompatible declaration of getEntityTrackingWorkspaceIds(Drupal\Core\Entity\RevisionableInterface $entity)
1 unresolved thread
Closes #3457750
Merge request reports
Activity
Filter activity
197 197 /** 198 198 * {@inheritdoc} 199 199 */ 200 public function getEntityTrackingWorkspaceIds(RevisionableInterface $entity) { 200 public function getEntityTrackingWorkspaceIds(RevisionableInterface $entity, bool $latest_revision = FALSE) { after this change we get another error:
Fatal error: Class Drupal\wse\WseWorkspaceAssociation contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\workspaces\WorkspaceAssociationInterface::getTrackedEntitiesForListing) in /var/www/html/docroot/modules/contrib/wse/src/WseWorkspaceAssociation.php on line 19
fixed that, and now more errors:
Error: Undefined constant Drupal\workspaces\WorkspaceInformationInterface::SUPPORTED in Drupal\wse\Core\EntityTypeInfo->entityTypeBuild() (line 52 of /var/www/html/docroot/modules/contrib/wse/src/Core/EntityTypeInfo.php). Fatal error: Uncaught TypeError: Cannot assign Drupal\workspaces\WorkspaceInformation to property Drupal\wse\Core\WorkspaceManager::$workspaceInfo of type Drupal\wse\Core\WorkspaceInformationInterface in /var/www/html/docroot/modules/contrib/wse/src/Core/WorkspaceManager.php:139
Edited by Malcolm Young
Please register or sign in to reply