有没有办法从自定义模块中扩展 User 类?我需要创建一个自定义用户类(例如Mymodule\User),它将使用/覆盖现有的 User 类方法或添加一些其他自定义方法。
谢谢
inheritance module class drupal-8
class ×1
drupal-8 ×1
inheritance ×1
module ×1