$output.='<dd>'.t('In order to use REST on a website, you need to install modules that provide serialization and authentication services. You can use the Core module <a href=":hal">HAL</a> for serialization and <a href=":basic_auth">HTTP Basic Authentication</a> for authentication, or install a contributed or custom module.',[':hal'=>(\Drupal::moduleHandler()->moduleExists('hal'))?Url::fromRoute('help.page',['name'=>'hal'])->toString():'https://www.drupal.org/docs/8/core/modules/hal/overview',':basic_auth'=>(\Drupal::moduleHandler()->moduleExists('basic_auth'))?Url::fromRoute('help.page',['name'=>'basic_auth'])->toString():'https://www.drupal.org/docs/8/core/modules/basic_auth/overview']).'</dd>';
$output.='<dd>'.t('In order to use REST on a website, you need to install modules that provide serialization and authentication services. You can use the Core module <a href=":serialization">serialization</a> for serialization and <a href=":basic_auth">HTTP Basic Authentication</a> for authentication, or install a contributed or custom module.',[':serialization'=>(\Drupal::moduleHandler()->moduleExists('serialization'))?Url::fromRoute('help.page',['name'=>'serialization'])->toString():'https://www.drupal.org/docs/8/core/modules/serialization/overview',':basic_auth'=>(\Drupal::moduleHandler()->moduleExists('basic_auth'))?Url::fromRoute('help.page',['name'=>'basic_auth'])->toString():'https://www.drupal.org/docs/8/core/modules/basic_auth/overview']).'</dd>';
$output.='<dt>'.t('Enabling REST support for an entity type').'</dt>';
$output.='<dd>'.t('REST support for content types (provided by the <a href=":node">Node</a> module) is enabled by default. To enable support for other content entity types, you can use a <a href=":config" target="blank">process based on configuration editing</a> or the contributed <a href=":restui">REST UI module</a>.',[':node'=>(\Drupal::moduleHandler()->moduleExists('node'))?Url::fromRoute('help.page',['name'=>'node'])->toString():'#',':config'=>'https://www.drupal.org/documentation/modules/rest',':restui'=>'https://www.drupal.org/project/restui']).'</dd>';
$output.='<dd>'.t('You will also need to grant anonymous users permission to perform each of the REST operations you want to be available, and set up authentication properly to authorize web requests.').'</dd>';