You are here

public function DisqusCommentManagerInterface::getFields in Disqus 8

Utility function to return an array of disqus_comment fields.

Parameters

string $entity_type_id: The content entity type to which the disqus_comment fields are attached.

Return value

array An array of disqu...www/html/d8/modules/disqus/src /DisqusCommentManagerInterface.phps_comment field map definitions, keyed by field name. Each value is an array with two entries:

  • type: The field type.
  • bundles: The bundles in which field appears, as an array with entity types as keys and ...www/html/d8/modules/disqus/src

/DisqusCommentManagerInterface.phpthe array of bundle names as values.

See also

\Drupal\Core\Entity\EntityManagerInterface::getFieldMap()

1 method overrides DisqusCommentManagerInterface::getFields()
DisqusCommentManager::getFields in src/DisqusCommentManager.php
Utility function to return an array of disqus_comment fields.

File

src/DisqusCommentManagerInterface.php, line 28

Class

DisqusCommentManagerInterface
It contains common functions to manage disqus_comment fields.

Namespace

Drupal\disqus

Code

public function getFields($entity_type_id);