├── LICENSE ├── README.md ├── bootstrap.php ├── composer.json ├── docs ├── README.md ├── caveats.md ├── getting-started.md ├── namespaced-functions.md ├── supported-apis.md ├── supported-globals.md └── supported-hooks.md ├── src ├── Access │ └── CustomControllerAccessCallback.php ├── Asset │ ├── RetrofitJsCollectionRenderer.php │ └── RetrofitLibraryDiscovery.php ├── Controller │ ├── DrupalGetFormController.php │ ├── PageCallbackController.php │ └── RetrofitTitleResolver.php ├── DB.php ├── DependencyInjection │ └── Compiler │ │ └── FilesAutoloaderPass.php ├── Entity │ ├── EntityTypeManager.php │ ├── Role.php │ ├── WrappedConfigEntity.php │ └── WrappedContentEntity.php ├── EventSubscriber │ ├── HookExit.php │ └── HookInit.php ├── Extension │ ├── ExtensionWrapper.php │ └── ModuleHandler.php ├── Field │ └── FieldTypePluginManager.php ├── Form │ ├── ArrayAccessFormState.php │ ├── DrupalGetForm.php │ └── FormBuilder.php ├── Language │ ├── GlobalLanguage.php │ └── GlobalLanguageSetter.php ├── Menu │ ├── LocalActionManager.php │ ├── LocalTaskManager.php │ └── MenuLinkManager.php ├── ParamConverter │ └── PageArgumentsConverter.php ├── Path │ └── CurrentPathStack.php ├── Plugin │ ├── Block │ │ └── Block.php │ ├── Derivative │ │ ├── BlockDeriver.php │ │ ├── FieldFormatterDeriver.php │ │ ├── FieldItemDeriver.php │ │ ├── LocalActionDeriver.php │ │ ├── LocalTaskDeriver.php │ │ └── MenuLinkDeriver.php │ ├── Discovery │ │ └── InfoHookDeriverDiscovery.php │ └── Field │ │ ├── FieldFormatter │ │ └── FieldFormatter.php │ │ └── FieldType │ │ ├── DecoratedFieldItem.php │ │ ├── FieldItem.php │ │ └── FieldItemList.php ├── Provider.php ├── Render │ ├── AttachmentResponseSubscriber.php │ └── RetrofitHtmlResponseAttachmentsProcessor.php ├── Routing │ ├── HookAdminPaths.php │ ├── HookMenuRegistry.php │ └── HookMenuRoutes.php ├── Template │ └── RetrofitExtension.php ├── Theme │ ├── HookPreprocess.php │ └── Registry.php ├── User │ ├── GlobalUser.php │ ├── GlobalUserSetter.php │ └── HookPermissions.php ├── constants.php ├── constants │ ├── bootstrap.php │ ├── comment.php │ ├── common.php │ └── file.php ├── functions.php └── functions │ ├── bootstrap.php │ ├── cache.php │ ├── common.php │ ├── db.php │ ├── field.php │ ├── file.php │ ├── form.php │ ├── lock.php │ ├── messages.php │ ├── module.php │ ├── namespaced.php │ ├── node.php │ ├── path.php │ ├── system.php │ ├── taxonomy.php │ ├── theme.php │ ├── user.php │ └── variable.php └── templates ├── theme-function.html.twig └── theme-phptemplate.html.twig /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/README.md -------------------------------------------------------------------------------- /bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/bootstrap.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/composer.json -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/caveats.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/caveats.md -------------------------------------------------------------------------------- /docs/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/getting-started.md -------------------------------------------------------------------------------- /docs/namespaced-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/namespaced-functions.md -------------------------------------------------------------------------------- /docs/supported-apis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/supported-apis.md -------------------------------------------------------------------------------- /docs/supported-globals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/supported-globals.md -------------------------------------------------------------------------------- /docs/supported-hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/docs/supported-hooks.md -------------------------------------------------------------------------------- /src/Access/CustomControllerAccessCallback.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Access/CustomControllerAccessCallback.php -------------------------------------------------------------------------------- /src/Asset/RetrofitJsCollectionRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Asset/RetrofitJsCollectionRenderer.php -------------------------------------------------------------------------------- /src/Asset/RetrofitLibraryDiscovery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Asset/RetrofitLibraryDiscovery.php -------------------------------------------------------------------------------- /src/Controller/DrupalGetFormController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Controller/DrupalGetFormController.php -------------------------------------------------------------------------------- /src/Controller/PageCallbackController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Controller/PageCallbackController.php -------------------------------------------------------------------------------- /src/Controller/RetrofitTitleResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Controller/RetrofitTitleResolver.php -------------------------------------------------------------------------------- /src/DB.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/DB.php -------------------------------------------------------------------------------- /src/DependencyInjection/Compiler/FilesAutoloaderPass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/DependencyInjection/Compiler/FilesAutoloaderPass.php -------------------------------------------------------------------------------- /src/Entity/EntityTypeManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Entity/EntityTypeManager.php -------------------------------------------------------------------------------- /src/Entity/Role.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Entity/Role.php -------------------------------------------------------------------------------- /src/Entity/WrappedConfigEntity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Entity/WrappedConfigEntity.php -------------------------------------------------------------------------------- /src/Entity/WrappedContentEntity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Entity/WrappedContentEntity.php -------------------------------------------------------------------------------- /src/EventSubscriber/HookExit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/EventSubscriber/HookExit.php -------------------------------------------------------------------------------- /src/EventSubscriber/HookInit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/EventSubscriber/HookInit.php -------------------------------------------------------------------------------- /src/Extension/ExtensionWrapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Extension/ExtensionWrapper.php -------------------------------------------------------------------------------- /src/Extension/ModuleHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Extension/ModuleHandler.php -------------------------------------------------------------------------------- /src/Field/FieldTypePluginManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Field/FieldTypePluginManager.php -------------------------------------------------------------------------------- /src/Form/ArrayAccessFormState.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Form/ArrayAccessFormState.php -------------------------------------------------------------------------------- /src/Form/DrupalGetForm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Form/DrupalGetForm.php -------------------------------------------------------------------------------- /src/Form/FormBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Form/FormBuilder.php -------------------------------------------------------------------------------- /src/Language/GlobalLanguage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Language/GlobalLanguage.php -------------------------------------------------------------------------------- /src/Language/GlobalLanguageSetter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Language/GlobalLanguageSetter.php -------------------------------------------------------------------------------- /src/Menu/LocalActionManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Menu/LocalActionManager.php -------------------------------------------------------------------------------- /src/Menu/LocalTaskManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Menu/LocalTaskManager.php -------------------------------------------------------------------------------- /src/Menu/MenuLinkManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Menu/MenuLinkManager.php -------------------------------------------------------------------------------- /src/ParamConverter/PageArgumentsConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/ParamConverter/PageArgumentsConverter.php -------------------------------------------------------------------------------- /src/Path/CurrentPathStack.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Path/CurrentPathStack.php -------------------------------------------------------------------------------- /src/Plugin/Block/Block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Block/Block.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/BlockDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/BlockDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/FieldFormatterDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/FieldFormatterDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/FieldItemDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/FieldItemDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/LocalActionDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/LocalActionDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/LocalTaskDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/LocalTaskDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Derivative/MenuLinkDeriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Derivative/MenuLinkDeriver.php -------------------------------------------------------------------------------- /src/Plugin/Discovery/InfoHookDeriverDiscovery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Discovery/InfoHookDeriverDiscovery.php -------------------------------------------------------------------------------- /src/Plugin/Field/FieldFormatter/FieldFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Field/FieldFormatter/FieldFormatter.php -------------------------------------------------------------------------------- /src/Plugin/Field/FieldType/DecoratedFieldItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Field/FieldType/DecoratedFieldItem.php -------------------------------------------------------------------------------- /src/Plugin/Field/FieldType/FieldItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Field/FieldType/FieldItem.php -------------------------------------------------------------------------------- /src/Plugin/Field/FieldType/FieldItemList.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Plugin/Field/FieldType/FieldItemList.php -------------------------------------------------------------------------------- /src/Provider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Provider.php -------------------------------------------------------------------------------- /src/Render/AttachmentResponseSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Render/AttachmentResponseSubscriber.php -------------------------------------------------------------------------------- /src/Render/RetrofitHtmlResponseAttachmentsProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Render/RetrofitHtmlResponseAttachmentsProcessor.php -------------------------------------------------------------------------------- /src/Routing/HookAdminPaths.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Routing/HookAdminPaths.php -------------------------------------------------------------------------------- /src/Routing/HookMenuRegistry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Routing/HookMenuRegistry.php -------------------------------------------------------------------------------- /src/Routing/HookMenuRoutes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Routing/HookMenuRoutes.php -------------------------------------------------------------------------------- /src/Template/RetrofitExtension.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Template/RetrofitExtension.php -------------------------------------------------------------------------------- /src/Theme/HookPreprocess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Theme/HookPreprocess.php -------------------------------------------------------------------------------- /src/Theme/Registry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/Theme/Registry.php -------------------------------------------------------------------------------- /src/User/GlobalUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/User/GlobalUser.php -------------------------------------------------------------------------------- /src/User/GlobalUserSetter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/User/GlobalUserSetter.php -------------------------------------------------------------------------------- /src/User/HookPermissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/User/HookPermissions.php -------------------------------------------------------------------------------- /src/constants.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/constants.php -------------------------------------------------------------------------------- /src/constants/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/constants/bootstrap.php -------------------------------------------------------------------------------- /src/constants/comment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/constants/comment.php -------------------------------------------------------------------------------- /src/constants/common.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/constants/common.php -------------------------------------------------------------------------------- /src/constants/file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/constants/file.php -------------------------------------------------------------------------------- /src/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions.php -------------------------------------------------------------------------------- /src/functions/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/bootstrap.php -------------------------------------------------------------------------------- /src/functions/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/cache.php -------------------------------------------------------------------------------- /src/functions/common.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/common.php -------------------------------------------------------------------------------- /src/functions/db.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/db.php -------------------------------------------------------------------------------- /src/functions/field.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/field.php -------------------------------------------------------------------------------- /src/functions/file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/file.php -------------------------------------------------------------------------------- /src/functions/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/form.php -------------------------------------------------------------------------------- /src/functions/lock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/lock.php -------------------------------------------------------------------------------- /src/functions/messages.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/messages.php -------------------------------------------------------------------------------- /src/functions/module.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/module.php -------------------------------------------------------------------------------- /src/functions/namespaced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/namespaced.php -------------------------------------------------------------------------------- /src/functions/node.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/node.php -------------------------------------------------------------------------------- /src/functions/path.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/path.php -------------------------------------------------------------------------------- /src/functions/system.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/system.php -------------------------------------------------------------------------------- /src/functions/taxonomy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/taxonomy.php -------------------------------------------------------------------------------- /src/functions/theme.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/theme.php -------------------------------------------------------------------------------- /src/functions/user.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/user.php -------------------------------------------------------------------------------- /src/functions/variable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retrofit-drupal/retrofit/HEAD/src/functions/variable.php -------------------------------------------------------------------------------- /templates/theme-function.html.twig: -------------------------------------------------------------------------------- 1 | {{ retrofit_theme_function() }} 2 | -------------------------------------------------------------------------------- /templates/theme-phptemplate.html.twig: -------------------------------------------------------------------------------- 1 | {{ retrofit_theme_phptemplate() }} 2 | --------------------------------------------------------------------------------