Draft: First version, renders basic SDCs.
1 open thread
Merge request reports
Activity
23 use CustomElementGeneratorTrait; 24 use CurrentRouteMatchTrait; 25 use EntityTypeManagerTrait; 26 27 /** 28 * Renders entity pages into custom elements. 29 * 30 * @param string $view_mode 31 * (optional) The view mode to use. Defaults to 'full'. 32 * 33 * @return \Drupal\custom_elements\CustomElement 34 * Returns CustomElement object. 35 * 36 * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException 37 */ 38 public function entityView($view_mode = 'full') { this PR is going to be split up in multiple steps, see https://www.drupal.org/project/custom_elements/issues/3537931
first one: !126 (merged)
Please register or sign in to reply