Unverified Commit dddfc885 authored by alexpott's avatar alexpott

Issue #2470753 by ayushmishra206, wizonesolutions, Lendude, longwave: Views...

Issue #2470753 by ayushmishra206, wizonesolutions, Lendude, longwave: Views documentation for views_data is misleading
parent dfe9957c
......@@ -110,10 +110,10 @@ function hook_views_analyze(Drupal\views\ViewExecutable $view) {
*
* To provide views data for an entity, instead of implementing this hook,
* create a class implementing \Drupal\views\EntityViewsDataInterface and
* reference this in the "views" annotation in the entity class. The return
* value of the getViewsData() method on the interface is the same as this hook,
* and base class in \Drupal\views\EntityViewsData will take care of adding the
* basic Views tables and fields for your entity. See the
* reference this in the "handlers.views_data" annotation in the entity class.
* The return value of the getViewsData() method on the interface is the same as
* this hook, and base class in \Drupal\views\EntityViewsData will take care of
* adding the basic Views tables and fields for your entity. See the
* @link entity_api Entity API topic @endlink for more information about
* entities.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment