Views field handlers

Handlers to tell Views how to build and display fields.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 14
Definition of Drupal\views\Plugin\views\field\FieldPluginBase.

Constants

Namesort descending Location Description
VIEWS_HANDLER_RENDER_TEXT_PHASE_COMPLETELY drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the render_text() method for rendering the whole element. (if no render_item() method is available).
VIEWS_HANDLER_RENDER_TEXT_PHASE_EMPTY drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the render_text() method for rendering the empty text.
VIEWS_HANDLER_RENDER_TEXT_PHASE_SINGLE_ITEM drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Indicator of the render_text() method for rendering a single item. (If no render_item() is present).

Classes

Namesort descending Location Description
Boolean drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Boolean.php A handler to provide proper displays for booleans.
Broken drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php A special handler to take the place of missing or broken handlers.
Combine drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php Filter handler which allows to search on multiple fields.
Comment drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php Field handler to allow linking to a comment.
ContextualLinks drupal/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php Provides a handler that adds contextual links.
Counter drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php Field handler to show a counter of the current row.
Custom drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php A handler to provide a field that is completely custom by the administrator.
Date drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Depth drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Depth.php Field handler to display the depth of a comment.
Extension drupal/core/modules/file/lib/Drupal/file/Plugin/views/field/Extension.php Returns a pure file extension of the file, for example 'module'.
Field drupal/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php A field that displays fieldapi fields.
FieldPluginBase drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Base field handler that has no options and renders an unformatted field.
FieldPluginBase drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php Base field handler that has no options and renders an unformatted field.
File drupal/core/modules/file/lib/Drupal/file/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
FileMime drupal/core/modules/file/lib/Drupal/file/Plugin/views/field/FileMime.php Field handler to add rendering MIME type images as an option on the filemime field.
FileSize drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FileSize.php Render a numeric value as a size.
HistoryUserTimestamp drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/HistoryUserTimestamp.php Field handler to display the marker for new content.
Language drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Language.php Field handler to translate a language into its readable form.
Language drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php Views field handler for user language.
LanguageField drupal/core/modules/language/lib/Drupal/language/Plugin/views/field/LanguageField.php Defines a field handler to translate a language into its readable form.
LastTimestamp drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LastTimestamp.php Field handler to display the timestamp of a comment with the count of comments.
Link drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php Field handler to present a link to the node.
Link drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php Field handler to present a link to the user.
Link drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php Base field handler to present a link.
LinkApprove drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkApprove.php Provides a comment approve link.
LinkCancel drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php Field handler to present a link to user cancel.
LinkDelete drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkDelete.php Field handler to present a link to delete a node.
LinkDelete drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php Field handler to present a link to delete a node.
LinkEdit drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/LinkEdit.php Field handler to present a link node edit.
LinkEdit drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php Field handler to present a link to user edit.
LinkEdit drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/LinkEdit.php Field handler to present a term edit link.
LinkEdit drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php Field handler to present a link node edit.
LinkReply drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php Field handler to present a link to delete a node.
MachineName drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/MachineName.php Field handler whichs allows to show machine name content as human name.
Mail drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Mail.php Field handler to provide acess control for the email field.
Markup drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Markup.php A handler to run a field through check_markup, using a companion format field.
Name drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Name.php Field handler to provide simple renderer that allows using a themed user link.
NcsLastCommentName drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.php Field handler to present the name of the last comment poster.
NcsLastUpdated drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastUpdated.php Field handler to display the newer of last comment / node updated.
Node drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Node.php Field handler to provide simple renderer that allows linking to a node. Definition terms:
NodeComment drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeComment.php Display node comment status.
NodeLink drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeLink.php Handler for showing comment module's node link.
NodeNewComments drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php Field handler to display the number of new comments.
Numeric drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Numeric.php Render a field as a numeric value
Path drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Path.php Field handler to present the path to the node.
Permissions drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Permissions.php Field handler to provide a list of permissions.
PrerenderList drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/PrerenderList.php Field handler to provide a list of items.
Revision drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Revision.php A basic node_revision handler.
RevisionLink drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLink.php Field handler to present a link to a node revision.
RevisionLinkDelete drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkDelete.php Field handler to present link to delete a node revision.
RevisionLinkRevert drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/RevisionLinkRevert.php Field handler to present a link to revert a node to a revision.
Roles drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php Field handler to provide a list of roles.
Score drupal/core/modules/search/lib/Drupal/search/Plugin/views/field/Score.php Field handler to provide simple renderer that allows linking to a node.
Serialized drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Serialized.php Field handler to show data of serialized fields.
Standard drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Standard.php Default implementation of the base field plugin.
Status drupal/core/modules/file/lib/Drupal/file/Plugin/views/field/Status.php Field handler to translate a node type into its readable form.
Taxonomy drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/Taxonomy.php Field handler to provide simple renderer that allows linking to a taxonomy term.
TaxonomyIndexTid drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/field/TaxonomyIndexTid.php Field handler to display all taxonomy terms of a node.
TimeInterval drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/TimeInterval.php A handler to provide proper displays for time intervals.
Type drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Type.php Field handler to translate a node type into its readable form.
Url drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Url.php Field handler to provide simple renderer that turns a URL into a clickable link.
User drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/User.php Field handler to provide simple renderer that allows linking to a user.
Username drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Username.php Field handler to allow linking to a user account or homepage.
Xss drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Xss.php A handler to run a field through simple XSS filtering.